mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Do not query nonexistent devices for readahead.
This commit is contained in:
parent
5a820745ce
commit
cfebc626b6
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.46 -
|
Version 2.02.46 -
|
||||||
================================
|
================================
|
||||||
|
Do not query nonexistent devices for readahead.
|
||||||
Remove NON_BLOCKING lock flag from tools and set a policy to auto-set.
|
Remove NON_BLOCKING lock flag from tools and set a policy to auto-set.
|
||||||
Remove snapshot_count from VG and use function instead.
|
Remove snapshot_count from VG and use function instead.
|
||||||
Fix first_seg() call for empty segment list.
|
Fix first_seg() call for empty segment list.
|
||||||
|
@ -141,7 +141,7 @@ static int _info_run(const char *name, const char *dlid, struct dm_info *info,
|
|||||||
if (!dm_task_get_info(dmt, info))
|
if (!dm_task_get_info(dmt, info))
|
||||||
goto_out;
|
goto_out;
|
||||||
|
|
||||||
if (with_read_ahead) {
|
if (with_read_ahead && info->exists) {
|
||||||
if (!dm_task_get_read_ahead(dmt, read_ahead))
|
if (!dm_task_get_read_ahead(dmt, read_ahead))
|
||||||
goto_out;
|
goto_out;
|
||||||
} else if (read_ahead)
|
} else if (read_ahead)
|
||||||
|
Loading…
Reference in New Issue
Block a user