aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2013-12-05 15:47:24 -0500
committerMister Oyster <oysterized@gmail.com>2018-01-02 14:17:01 +0100
commit711e09b94d1a4f56482166b53a9bf0e33916a5f0 (patch)
treebb364c57497057a183372df8db7e54b89fad8f00 /scripts
parent3334d81181668c1e218ea873dba97b3d3f6d9aff (diff)
dm thin: requeue bios to DM core if no_free_space and in read-only mode
Now that we switch the pool to read-only mode when the data device runs out of space it causes active writers to get IO errors once we resume after resizing the data device. If no_free_space is set, save bios to the 'retry_on_resume_list' and requeue them on resume (once the data or metadata device may have been resized). With this patch the resize_io test passes again (on slower storage): dmtest run --suite thin-provisioning -n /resize_io/ Later patches fix some subtle races associated with the pool mode transitions done as part of the pool's -ENOSPC handling. These races are exposed on fast storage (e.g. PCIe SSD). Signed-off-by: Mike Snitzer <snitzer@redhat.com> Acked-by: Joe Thornber <ejt@redhat.com> [@nathanchance: fixed conflicts] Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Joe Maples <joe@frap129.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions