diff options
author | NeilBrown <neilb@suse.com> | 2016-11-04 08:46:03 +0300 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-11-08 02:08:23 +0300 |
commit | 85c9ccd4f026aad8e91ec1c182206e807cff932d (patch) | |
tree | 4e8e6bf92d4fae8c3e171f1dfba3fe9f0aeedad1 /drivers/misc/echo | |
parent | a9ae93c8cc0b63d8283f335604362f903d2244e2 (diff) | |
download | linux-85c9ccd4f026aad8e91ec1c182206e807cff932d.tar.xz |
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 <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/misc/echo')
0 files changed, 0 insertions, 0 deletions