pnfs: release lseg in pnfs_generic_pg_cleanup
authorWeston Andros Adamson <dros@primarydata.com>
Wed, 10 Sep 2014 19:48:01 +0000 (15:48 -0400)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:44 +0000 (11:06 -0800)
commit180bb5ec06ce3a95dccc751fbf6bf11d3003da98
treee73fcf03e30e0bdb6b2e97767782fa53a0912ff7
parent2176bf4269a37a7742230ed6c91668241bfe1b2b
pnfs: release lseg in pnfs_generic_pg_cleanup

This is needed to support mirrored writes - the first write can't just
trash the lseg, we need to keep it around until all mirrors have
written.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
fs/nfs/blocklayout/blocklayout.c
fs/nfs/filelayout/filelayout.c
fs/nfs/objlayout/objio_osd.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h