diff options
author | Fred Isaman <iisaman@netapp.com> | 2012-04-20 14:47:38 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-27 14:10:36 -0400 |
commit | 799ba8d53d32c84bd2a867ca2689538a48176140 (patch) | |
tree | e17ad842898a2c9b63183f7a435c984191336859 /fs/nfs/write.c | |
parent | 1acbbb4e16209e85c35ff6cacad61d802c07289b (diff) | |
download | linux-3.10-799ba8d53d32c84bd2a867ca2689538a48176140.tar.gz linux-3.10-799ba8d53d32c84bd2a867ca2689538a48176140.tar.bz2 linux-3.10-799ba8d53d32c84bd2a867ca2689538a48176140.zip |
NFS4.1: Add lseg to struct nfs4_fl_commit_bucket
Also create a commit_info structure to hold the bucket array and push
it up from the lseg to the layout where it really belongs.
While we are at it, fix a refcounting bug due to an (incorrect)
implicit assumption that filelayout_scan_ds_commit_list always
completely emptied the src list.
This clarifies refcounting, removes the ugly find_only_write_lseg
functions, and pushes the file layout commit code along on the path to
supporting multiple lsegs.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions