mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Define DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.
This commit is contained in:
parent
b4068515e8
commit
14772580cd
@ -1,5 +1,6 @@
|
||||
Version 1.02.23 -
|
||||
==================================
|
||||
Define DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.
|
||||
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.
|
||||
|
@ -141,6 +141,9 @@ struct dm_deps *dm_task_get_deps(struct dm_task *dmt);
|
||||
struct dm_names *dm_task_get_names(struct dm_task *dmt);
|
||||
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 */
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user