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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2012 15:04:20 +0000 (08:04 -0700)
commitf6ecbea43e774dfc0b3678d2cdda9d4b43cfecf8
tree1db462817f937f6e2046569d45a7f820caa2c236
parent0234af60fb13cbb7caa6f757e4d8e29cd87aaba6
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/exofs/ore.c