OSDN Git Service

NFSv4/pnfs: Support a list of commit arrays in struct pnfs_ds_commit_info
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 19 Mar 2020 17:36:36 +0000 (13:36 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 27 Mar 2020 20:34:34 +0000 (16:34 -0400)
commitc21e7168848d4ff4158120dbd4464f0d5cfb1456
tree57f6b908524be9d5c7769e60bff7b8794390b5e2
parentd7242c4641fba521a1ea9dbccb11a40cf38cd912
NFSv4/pnfs: Support a list of commit arrays in struct pnfs_ds_commit_info

When we have multiple layout segments with different lists of mirrored
data, we need to track the commits on a per layout segment basis.
This patch adds a list to support this tracking in struct
pnfs_ds_commit_info.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/direct.c
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/pnfs.h
include/linux/nfs_xdr.h