1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Add DM_READ_AHEAD_MINIMUM_FLAG

This commit is contained in:
Alasdair Kergon 2007-11-12 20:47:18 +00:00
parent 6c3dc20388
commit 6dd60469ba
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Version 1.02.23 -
==================================
Define DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.
Define DM_READ_AHEAD_* values and flags.
Fix configure --with-dmeventd-path substitution.
Allow $DM_DEV_DIR envvar to override default of "/dev".
Create e.g., libdevmapper.so.1.02, in build dir alongside the .so file.

View File

@ -144,6 +144,8 @@ struct dm_versions *dm_task_get_versions(struct dm_task *dmt);
#define DM_READ_AHEAD_AUTO UINT32_MAX /* Use kernel default readahead */
#define DM_READ_AHEAD_NONE 0 /* Disable readahead */
#define DM_READ_AHEAD_MINIMUM_FLAG 0x1 /* Value supplied is minimum */
int dm_task_set_ro(struct dm_task *dmt);
int dm_task_set_newname(struct dm_task *dmt, const char *newname);
int dm_task_set_minor(struct dm_task *dmt, int minor);