[dm-devel] device-mapper/lib libdevmapper.h
agk at sourceware.org
agk at sourceware.org
Wed Dec 5 16:28:20 UTC 2007
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk at sourceware.org 2007-12-05 16:28:19
Modified files:
lib : libdevmapper.h
Log message:
clarify when read_ahead may be set
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdevmapper.h.diff?cvsroot=dm&r1=1.78&r2=1.79
--- device-mapper/lib/libdevmapper.h 2007/11/30 14:59:57 1.78
+++ device-mapper/lib/libdevmapper.h 2007/12/05 16:28:19 1.79
@@ -165,6 +165,9 @@
#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,
More information about the dm-devel
mailing list