summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2015-09-24 06:00:51 +0200
committerNeilBrown <neilb@suse.com>2015-10-02 09:23:43 +0200
commit88724bfa68be792c1487d759e87568c36ac1a1cc (patch)
tree12cf787a5922610396529d90ae82ccaf223a57d9 /drivers/rapidio
parentMerge branch 'for-4.3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadlinux-88724bfa68be792c1487d759e87568c36ac1a1cc.tar.xz
linux-88724bfa68be792c1487d759e87568c36ac1a1cc.zip
md: wait for pending superblock updates before switching to read-only
If a superblock update is pending, wait for it to complete before letting md_set_readonly() switch to readonly. Otherwise we might lose important information about a device having failed. For external arrays, waiting for superblock updates can wait on user-space, so in that case, just return an error. Reported-and-tested-by: Shaohua Li <shli@fb.com> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions