diff options
author | Brian Behlendorf <[email protected]> | 2019-03-06 09:17:53 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2019-03-06 09:17:53 -0800 |
commit | 96ebc5a1a4cc57806882e4e9b38c49ba8a5bdfda (patch) | |
tree | badaa649b8d8bc6a2040692ee3e94c260a99614b /include/sys | |
parent | 762f9ef3d9d897b5baf7c91d6e8a7bf371a9b02f (diff) |
Fix race in vdev_initialize_thread
Before allowing new allocations to the metaslab we need to ensure
that any issued initializing writes have been synced. Otherwise,
it's possible for metaslab_block_alloc() to allocate a range which
is about to be overwritten by an initializing IO.
Serapheim Dimitropoulos <[email protected]>
Reviewed-by: Richard Elling <[email protected]>
Reviewed-by: Tim Chase <[email protected]>
Reviewed-by: George Wilson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #8461
Diffstat (limited to 'include/sys')
0 files changed, 0 insertions, 0 deletions