]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd/blocklayout: accept any minlength
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Oct 2015 13:03:26 +0000 (15:03 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 9 Oct 2015 20:11:40 +0000 (16:11 -0400)
commit5243fbae56fc669cebbefcc59c434b31a1c97452
tree3da3578adea31cc917590e79499b4349eb03e741
parent13a5a044106ac862042372dbd0c3635b72c11172
nfsd/blocklayout: accept any minlength

Recent Linux clients have started to send GETLAYOUT requests with
minlength less than blocksize.

Servers aren't really allowed to impose this kind of restriction on
layouts; see RFC 5661 section 18.43.3 for details.

This has been observed to cause indefinite hangs on fsx runs on some
clients.

Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/blocklayout.c