]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ore: Remove support of partial IO request (NFS crash)
authorBoaz Harrosh <bharrosh@panasas.com>
Fri, 8 Jun 2012 01:30:40 +0000 (04:30 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Fri, 20 Jul 2012 08:47:43 +0000 (11:47 +0300)
commit62b62ad873f2accad9222a4d7ffbe1e93f6714c1
tree381293407edb110b77e2133be29c3af13a58468d
parent9ff19309a9623f2963ac5a136782ea4d8b5d67fb
ore: Remove support of partial IO request (NFS crash)

Do to OOM situations the ore might fail to allocate all resources
needed for IO of the full request. If some progress was possible
it would proceed with a partial/short request, for the sake of
forward progress.

Since this crashes NFS-core and exofs is just fine without it just
remove this contraption, and fail.

TODO:
Support real forward progress with some reserved allocations
of resources, such as mem pools and/or bio_sets

[Bug since 3.2 Kernel]
CC: Stable Tree <stable@kernel.org>
CC: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/ore.c