summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/squashfs_fs_sb.h
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2011-01-06 12:36:22 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-06 20:46:31 +0100
commitfd6002e9b8a93220d5f53b93d9624caf73cdc8a2 (patch)
treef45c22c9ec855949b1ec0488162229df4eb3f5ed /fs/squashfs/squashfs_fs_sb.h
parentpnfs: add prefix to struct pnfs_layout_hdr fields (diff)
downloadlinux-fd6002e9b8a93220d5f53b93d9624caf73cdc8a2.tar.xz
linux-fd6002e9b8a93220d5f53b93d9624caf73cdc8a2.zip
pnfs: change layout state seqlock to a spinlock
This prepares for future changes, where the layout state needs to change atomically with several other variables. In particular, it will need to know if lo->segs is empty, as we test that instead of manipulating the NFS_LAYOUT_STATEID_SET bit. Moreover, the layoutstateid is not really a read-mostly structure, as it is written almost as often as it is read. The behavior of pnfs_get_layout_stateid is also slightly changed, so that it no longer changes the stateid. Its name is changed to +pnfs_choose_layoutget_stateid. Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/squashfs/squashfs_fs_sb.h')
0 files changed, 0 insertions, 0 deletions