exofs: Support for short read/writes
authorBoaz Harrosh <bharrosh@panasas.com>
Sat, 27 Aug 2011 04:00:32 +0000 (21:00 -0700)
committerBoaz Harrosh <bharrosh@panasas.com>
Fri, 14 Oct 2011 16:54:39 +0000 (18:54 +0200)
commit154a9300cd87eee7538f356c9d339f06b0b1d257
treefc8f427a2db1a3817883f35048f0a62751083c36
parent6851a5e5c12b35f8bb8986d0ff16ca9be4cf2c09
exofs: Support for short read/writes

If at read/write_done the actual IO was shorter then requested,
reported in returned ios->length. It is not an error. The reminder
of the pages should just be unlocked but not marked uptodate or
end_page_writeback. They will be re issued later by the VFS.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/inode.c