Issue #33

Fix is to make sure that the 64bit divisions are done correctly.
Signed off by: abhansali@stec-inc.com
Issue #33

Fix the division issue between two 64bit values for 32 bit architecture.
This also fix the round off issue causing stats to grow beyond 100%.
Signed off by: abhansali@stec-inc.com
Merge remote-tracking branch 'upstream/master'

Conflicts:
	Driver/enhanceio/eio.h
	Driver/enhanceio/eio_procfs.c
Issue #61: 'ro' mode doesn't seem to bypass writes.

The fix takes care of bypassing the writes incase of
read only cache mode. This has been completely missed
in the code where readonly mode behavior was equivalent to
write through cache.
Signed-off-by: Akhil Bhansali <bhansaliakhil@gmail.com>
Fix compilation errors with kernel 3.14

In 3.14, bi_sector and bi_size were moved into an iterator.
Merge pull request #70 from bhansaliakhil/master

Bug: 'ro' mode doesn't seem to bypass writes #61
Merge pull request #72 from kcgthb/master

Fix compilation errors with kernel 3.14
Fix for compilation error due to bio change.

Signed-off-by: Akhil Bhansali <bhansaliakhil@gmail.com>
Merge upstream