summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_btree.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2011-07-24 10:29:54 -0700
committerSunil Mushran <sunil.mushran@oracle.com>2011-07-24 10:29:54 -0700
commitff0a522e7db79625aa27a433467eb94c5e255718 (patch)
treeb404bbd397b3f495792db561a4a09fa66aa82be0 /fs/xfs/xfs_bmap_btree.h
parented8625c6fb93d750ed022db571a8a7b7a6724b3b (diff)
downloadblackbird-op-linux-ff0a522e7db79625aa27a433467eb94c5e255718.tar.gz
blackbird-op-linux-ff0a522e7db79625aa27a433467eb94c5e255718.zip
ocfs2/dlm: Take inflight reference count for remotely mastered resources too
The inflight reference count, in the lock resource, is taken to pin the resource in memory. We take it when a new resource is created and release it after a lock is attached to it. We do this to prevent the resource from getting purged prematurely. Earlier this reference count was being taken for locally mastered resources only. This patch extends the same functionality for remotely mastered ones. We are doing this because the same premature purging could occur for remotely mastered resources if the remote node were to die before completion of the create lock. Fix for Oracle bug#12405575. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_btree.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud