]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs/blocklayout: reject pnfs blocksize larger than page size
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Aug 2014 16:09:26 +0000 (11:09 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:02 +0000 (12:47 -0700)
commitfa5feb70de9d02aac90df7d24fc6d5cd80dd931f
tree08ff28dbec68a9af3b0528340e642b9c8ded3b08
parent3a02765e18708189c9da85d1b18af1d6af522d2f
pnfs/blocklayout: reject pnfs blocksize larger than page size

The Linux VM subsystem can't support block sizes larger than page size
for block based filesystems very well.  While this can be hacked around
to some extent for simple filesystems the read-modify-write cycles
required for pnfs block invalid extents are extremly deadlock prone
when operating on multiple pages.  Reject this case early on instead
of pretending to support it (badly).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/blocklayout.c