From: Boaz Harrosh Date: Sat, 27 Aug 2011 04:04:52 +0000 (-0700) Subject: ore: Support for short read/writes X-Git-Tag: v3.2-rc1~155^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbf9a31bba8c985780fe94da059cc5813a7920f5;p=pandora-kernel.git ore: Support for short read/writes Memory conditions and max_bio constraints might cause us to not comply to the full length of the requested IO. Instead of failing the complete IO we can issue a shorter read/write and report how much was actually executed in the ios->length member. All users must check ios->length at IO_done or upon return of ore_read/write and re-issue the reminder of the bytes. Because other wise there is no error returned like before. This is part of the effort to support the pnfs-obj layout driver. Signed-off-by: Boaz Harrosh --- Reading git-diff-tree failed