mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
clarify when read_ahead may be set
This commit is contained in:
parent
9a22e746b5
commit
a8524c3942
@ -165,6 +165,9 @@ int dm_task_suppress_identical_reload(struct dm_task *dmt);
|
||||
|
||||
#define DM_READ_AHEAD_MINIMUM_FLAG 0x1 /* Value supplied is minimum */
|
||||
|
||||
/*
|
||||
* Read ahead is set with DM_DEVICE_CREATE with a table or DM_DEVICE_RESUME.
|
||||
*/
|
||||
int dm_task_set_read_ahead(struct dm_task *dmt, uint32_t read_ahead,
|
||||
uint32_t read_ahead_flags);
|
||||
uint32_t dm_task_get_read_ahead(const struct dm_task *dmt,
|
||||
|
Loading…
Reference in New Issue
Block a user