mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
deactivate: drop readahead calc in deactivation
Skip readahead when device will be deactivated.
This commit is contained in:
parent
0670bfeb59
commit
f5832d8c49
@ -1,5 +1,6 @@
|
||||
Version 2.02.101 -
|
||||
===================================
|
||||
Drop calculation of read ahead for deactivated volume.
|
||||
Check for exactly one lv segment in validation of thin pools and volumes.
|
||||
Fix dmeventd unmonitoring of thin pools.
|
||||
Fix lvresize for stacked thin pool volumes (i.e. mirrors).
|
||||
|
@ -1947,8 +1947,6 @@ int lv_deactivate(struct cmd_context *cmd, const char *lvid_s, struct logical_vo
|
||||
if (!lv_read_replicator_vgs(lv))
|
||||
goto_out;
|
||||
|
||||
lv_calculate_readahead(lv, NULL);
|
||||
|
||||
if (!monitor_dev_for_events(cmd, lv, &laopts, 0))
|
||||
stack;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user