]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs/blocklayout: put deviceid node after releasing bl_ext_lock
authorBenjamin Coddington <bcodding@redhat.com>
Fri, 10 Jun 2016 20:37:35 +0000 (16:37 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 19 Jul 2016 20:23:24 +0000 (16:23 -0400)
commit23d293df9ea845a4cf11a9d1efd65d2a8930ac43
treed415c510f833bf87c53916f0539424bc6f3a1e5f
parent480dfb07a514cd5ae382caf2f580a0583be4f5d0
pnfs/blocklayout: put deviceid node after releasing bl_ext_lock

The last put of deviceid nodes for SCSI layouts may sleep, so we shouldn't
hold any spinlocks.  Make sure we put them outside the bl_ext_lock.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/extent_tree.c