Home
last modified time | relevance | path

Searched refs:bm_lockres (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/md/
Dmd-cluster.c233 struct dlm_lock_resource *bm_lockres; in recover_bitmaps() local
252 bm_lockres = lockres_init(mddev, str, NULL, 1); in recover_bitmaps()
253 if (!bm_lockres) { in recover_bitmaps()
258 ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); in recover_bitmaps()
277 dlm_unlock_sync(bm_lockres); in recover_bitmaps()
637 struct dlm_lock_resource *bm_lockres; in gather_all_resync_info() local
646 bm_lockres = lockres_init(mddev, str, NULL, 1); in gather_all_resync_info()
647 if (!bm_lockres) in gather_all_resync_info()
652 bm_lockres->flags |= DLM_LKF_NOQUEUE; in gather_all_resync_info()
653 ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); in gather_all_resync_info()
[all …]
/linux-4.4.14/Documentation/
Dmd-cluster.txt33 2.1 Bitmap lock resource (bm_lockres)
35 The bm_lockres protects individual node bitmaps. They are named in the