]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSv4/pnfs: Add support for the PNFS_LAYOUT_FILE_BULK_RETURN flag
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 13 Jun 2024 05:00:49 +0000 (01:00 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 8 Jul 2024 17:47:26 +0000 (13:47 -0400)
commit41d0a8ead97209c0e3e1f64e6484c31a98e31154
treebdbae3ab0fcd992285808167906fbaea72e26bc7
parent8adc8302109f868a7f17f29b8a336cea8deaa96e
NFSv4/pnfs: Add support for the PNFS_LAYOUT_FILE_BULK_RETURN flag

Add a flag PNFS_LAYOUT_FILE_BULK_RETURN, that will attempt to return all
the layouts in a pnfs_layout_destroy_byfsid/pnfs_layout_destroy_byclid
call, instead of just invalidating them.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pnfs.c
fs/nfs/pnfs.h