aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/osd_ore.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2011-08-26 21:04:52 -0700
committerBoaz Harrosh <bharrosh@panasas.com>2011-10-14 18:54:40 +0200
commitbbf9a31bba8c985780fe94da059cc5813a7920f5 (patch)
tree882d91f165dad978295f14fb8226a1296ca72073 /include/scsi/osd_ore.h
parentexofs: Support for short read/writes (diff)
downloadlinux-dev-bbf9a31bba8c985780fe94da059cc5813a7920f5.tar.xz
linux-dev-bbf9a31bba8c985780fe94da059cc5813a7920f5.zip
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 <bharrosh@panasas.com>
Diffstat (limited to 'include/scsi/osd_ore.h')
0 files changed, 0 insertions, 0 deletions