Skip to content

Commit

Permalink
md: make reconfig_mutex optional for writes to md sysfs files.
Browse files Browse the repository at this point in the history
Rather than using mddev_lock() to take the reconfig_mutex
when writing to any md sysfs file, we only take mddev_lock()
in the particular _store() functions that require it.
Admittedly this is most, but it isn't all.

This also allows us to remove special-case handling for new_dev_store
(in md_attr_store).

Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information
NeilBrown committed Feb 5, 2015
1 parent 5c47daf commit 6791875
Show file tree
Hide file tree
Showing 2 changed files with 316 additions and 164 deletions.
Loading

0 comments on commit 6791875

Please sign in to comment.