diff options
| author | Guoqing Jiang <gqjiang@suse.com> | 2017-04-17 17:11:05 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-24 10:58:42 +0100 |
| commit | 62d5e5755347b8c66bc22085f4c751423a53500d (patch) | |
| tree | f26c6c8e12ecf1237da09d8a522a2e037b65dbfc /net/ipv4/tcp_input.c | |
| parent | 5fbe79a375faffd0bc93cf4c52aac8127f1047ed (diff) | |
md/raid10: wait up frozen array in handle_write_completed
[ Upstream commit cf25ae78fc50010f66b9be945017796da34c434d ]
Since nr_queued is changed, we need to call wake_up here
if the array is already frozen and waiting for condition
"nr_pending == nr_queued + extra" to be true.
And commit 824e47daddbf ("RAID1: avoid unnecessary spin
locks in I/O barrier code") which has already added the
wake_up for raid1.
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
