diff options
author | Tomasz Majchrzak <tomasz.majchrzak@intel.com> | 2016-07-28 10:28:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-30 09:35:18 +0200 |
commit | 73dd1edf50a6bdf33046c2e4aa0b1ad4fef71a71 (patch) | |
tree | 8cc7e4d7119c237d5e2922cf3f20cdd285ce893f /net/ceph/osdmap.c | |
parent | 17503963206584333b674740ba75b5079ea7e196 (diff) |
raid10: increment write counter after bio is split
commit 9b622e2bbcf049c82e2550d35fb54ac205965f50 upstream.
md pending write counter must be incremented after bio is split,
otherwise it gets decremented too many times in end bio callback and
becomes negative.
Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ceph/osdmap.c')
0 files changed, 0 insertions, 0 deletions