]> 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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 25 Jul 2012 03:11:30 +0000 (04:11 +0100)
commit3e17c16b921d72d121393b618bfe92992c8f3d1c
treefdbf82ba1f6c2de320f6b0c69733abc29f056dad
parentc7003a9e7062f9b5233c4a80c8eec19eae30d171
ore: Remove support of partial IO request (NFS crash)

commit 62b62ad873f2accad9222a4d7ffbe1e93f6714c1 upstream.

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: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/exofs/ore.c