Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

NFSv4/flexfiles: Use ds_commit_idx when marking a write commit

Correct this path to use ds_commit_idx. Another noop preparation
change. In current code commit_idx == mirror_idx but when striping is
enabled that will not be true.

Signed-off-by: Jonathan Curley <jcurley@purestorage.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>

authored by

Jonathan Curley and committed by
Anna Schumaker
eb71428e fec80afc

+1 -1
+1 -1
fs/nfs/write.c
··· 931 931 req->wb_nio = 0; 932 932 memcpy(&req->wb_verf, &hdr->verf.verifier, sizeof(req->wb_verf)); 933 933 nfs_mark_request_commit(req, hdr->lseg, &cinfo, 934 - hdr->pgio_mirror_idx); 934 + hdr->ds_commit_idx); 935 935 goto next; 936 936 } 937 937 remove_req: