* dm: struct io_restriction reordered
@ 2007-10-29 6:31 Vasily Averin
0 siblings, 0 replies; only message in thread
From: Vasily Averin @ 2007-10-29 6:31 UTC (permalink / raw)
To: Linux Kernel Mailing List, dm-devel, devel; +Cc: Andrew Morton
it saves some bytes memory
Signed-off-by: Vasily Averin <vvs@sw.ru>
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -110,12 +110,12 @@ struct target_type {
};
struct io_restrictions {
+ unsigned long seg_boundary_mask;
unsigned int max_sectors;
+ unsigned int max_segment_size;
unsigned short max_phys_segments;
unsigned short max_hw_segments;
unsigned short hardsect_size;
- unsigned int max_segment_size;
- unsigned long seg_boundary_mask;
unsigned char no_cluster; /* inverted so that 0 is default */
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-29 6:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 6:31 dm: struct io_restriction reordered Vasily Averin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.