pnfs/blocklayout: remove read-modify-write handling in bl_write_pagelist
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Sep 2014 15:23:32 +0000 (08:23 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:03 +0000 (12:47 -0700)
commit3a6fd1f004fcaf3dd1c28a7cd16406c8318eb64a
tree192f1a9bac9e03c9fd3f78f0ac24ba40b59d688a
parentc88953d87f5c8cd95bebcbd6d15f2f0cdd348136
pnfs/blocklayout: remove read-modify-write handling in bl_write_pagelist

Use the new PNFS_READ_WHOLE_PAGE flag to offload read-modify-write
handling to core nfs code, and remove a huge chunk of deadlock prone
mess from the block layout writeback path.

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