Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Dmd-cluster.c226 struct dlm_lock_resource *bm_lockres; in recover_bitmaps() local
245 bm_lockres = lockres_init(mddev, str, NULL, 1); in recover_bitmaps()
246 if (!bm_lockres) { in recover_bitmaps()
251 ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); in recover_bitmaps()
270 dlm_unlock_sync(bm_lockres); in recover_bitmaps()
582 struct dlm_lock_resource *bm_lockres; in gather_all_resync_info() local
590 bm_lockres = lockres_init(mddev, str, NULL, 1); in gather_all_resync_info()
591 if (!bm_lockres) in gather_all_resync_info()
596 bm_lockres->flags |= DLM_LKF_NOQUEUE; in gather_all_resync_info()
597 ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); in gather_all_resync_info()
[all …]
/linux-4.1.27/Documentation/
Dmd-cluster.txt33 2.1 Bitmap lock resource (bm_lockres)
35 The bm_lockres protects individual node bitmaps. They are named in the