pnfs: pass ds_commit_idx through the commit path
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 5 Sep 2014 22:20:21 +0000 (18:20 -0400)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:45 +0000 (11:06 -0800)
commitb57ff1303a2d4d1484c7a82bd80a3e014d6cdf5e
treeda3d760d94a39ecbf89e4ea5b0ed5e5017f26fde
parent6cccbb6f52dceec5f4faed8846ac05ae830640e6
pnfs: pass ds_commit_idx through the commit path

Pass ds_commit_idx through the nfs commit path. It's used to select
the commit bucket when using pnfs and is ignored when not using pnfs.
Several functions had to be changed: nfs_retry_commit,
nfs_mark_request_commit, pnfs_mark_request_commit and the pnfs layout
driver .mark_request_commit functions.

Signed-off-by: Tom Haynes <loghyr@primarydata.com>
fs/nfs/direct.c
fs/nfs/filelayout/filelayout.c
fs/nfs/internal.h
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c
fs/nfs/write.c