OpenVZ Forum


Home » Mailing lists » Devel » dm: struct io_restriction reordered
dm: struct io_restriction reordered [message #22442] Mon, 29 October 2007 06:31
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
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 */
 };
Previous Topic: i2o: debug messages corrected
Next Topic: i2o: CONFIG_DEBUG_SG compilation fixed
Goto Forum:
  


Current Time: Sat Aug 16 05:13:53 GMT 2025

Total time taken to generate the page: 0.40604 seconds