aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2016-11-04 16:46:03 +1100
committerShaohua Li <[email protected]>2016-11-07 15:08:23 -0800
commit85c9ccd4f026aad8e91ec1c182206e807cff932d (patch)
tree4e8e6bf92d4fae8c3e171f1dfba3fe9f0aeedad1 /lib/mpi/mpi-cmp.c
parenta9ae93c8cc0b63d8283f335604362f903d2244e2 (diff)
md/bitmap: Don't write bitmap while earlier writes might be in-flight
As we don't wait for writes to complete in bitmap_daemon_work, they could still be in-flight when bitmap_unplug writes again. Or when bitmap_daemon_work tries to write again. This can be confusing and could risk the wrong data being written last. So make sure we wait for old writes to complete before new writes start. Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions