Skip to contentSkip to conversation

device-mapper/lib libdevmapper.h

PATCH [email protected] 1 participant 1 message Dec 5, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 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

lib/libdevmapper.h +3 -0
@@ -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,