commit | 27571297a7e9a2a845c232813a7ba7e1227f5ec6 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Aug 03 17:38:33 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Aug 12 14:56:18 2015 -0400 |
tree | f9023b29be9918f438feb56a21126296a3fd8c9a | |
parent | 0847ef88c3c9318d85e92fc42369df0e0190e1ab [diff] |
pNFS: Tighten up locking around DS commit buckets I'm not aware of any bugreports around this issue, but the locking around the pnfs_commit_bucket is inconsistent at best. This patch tightens it up by ensuring that the 'bucket->committing' list is always changed atomically w.r.t. the 'bucket->clseg' layout segment tracking. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>