lkml.org 
[lkml]   [2007]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 29 Oct 2007 09:31:52 +0300
FromVasily Averin <>
Subjectdm: struct io_restriction reordered
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 */
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-10-29 07:35    [from the cache]
©2003-2009