Files
linux/drivers/md
Artur Paszkiewicz 2214c260c7 md: don't return -EAGAIN in md_allow_write for external metadata arrays
This essentially reverts commit b5470dc5fc ("md: resolve external
metadata handling deadlock in md_allow_write") with some adjustments.

Since commit 6791875e2e ("md: make reconfig_mutex optional for writes
to md sysfs files.") changing array_state to 'active' does not use
mddev_lock() and will not cause a deadlock with md_allow_write(). This
revert simplifies userspace tools that write to sysfs attributes like
"stripe_cache_size" or "consistency_policy" because it removes the need
for special handling for external metadata arrays, checking for EAGAIN
and retrying the write.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2017-05-08 10:32:59 -07:00
..
2017-04-08 11:25:38 -06:00
2016-11-01 09:43:26 -06:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2017-05-01 14:09:21 -07:00
2017-04-08 11:25:38 -06:00
2017-05-01 14:09:21 -07:00
2015-08-13 12:31:57 -06:00
2017-05-01 14:09:21 -07:00