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)
commitd9c0ce0e45723a4924d22ac2e5e13c2dede76cad
treed415c510f833bf87c53916f0539424bc6f3a1e5f
parentce52914eb76efd62aa48d738cf845b37852bf920
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