]> git.neil.brown.name Git - mdadm.git/commit
mdadm: do not try to hold dlm lock in free_super1
authorGuoqing Jiang <gqjiang@suse.com>
Wed, 16 Dec 2015 17:54:25 +0000 (01:54 +0800)
committerNeilBrown <neilb@suse.com>
Wed, 16 Dec 2015 22:51:46 +0000 (09:51 +1100)
commit1b78e47021170527e9f173b05e3adac41f8bccf9
tree1fe5c841f04569a77fa4e9e928f8422ddcab2617
parent53e76b1def4d3d6c884e45f1ac723b5f3a1b7376
mdadm: do not try to hold dlm lock in free_super1

Since free_super1 actually doesn't change the sb, it
just free the addr space of sb. Also free_super1 is
called in lots of place within mdadm, so remove dlm
lock code since the func doesn't need the protection
and also reduce latency.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
super1.c