1
0
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:
Zdenek Kabelac 2013-09-07 02:48:19 +02:00
parent 0670bfeb59
commit f5832d8c49
2 changed files with 1 additions and 2 deletions

View File

@ -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).

View File

@ -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;