md: avoid taking the mutex on some ioctls.
authorNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 02:37:33 +0000 (13:37 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 02:37:33 +0000 (13:37 +1100)
Some ioctls don't need to take the mutex and doing so can cause
a delay as it is held during super-block update.
So move those ioctls out of the mutex and rely on rcu locking
to ensure we don't access stale data.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found