1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Mike Snitzer 8ad7865b42 Fix alignment of PV data area if detected alignment less than 1 MB
This fixes a long standing regression since LVM2 2.02.74 (commit 4efb1d9c,
"Update heuristic used for default and detected data alignment.")

The default PE alignment could be used (via MAX()) even if it was
determined that the device's MD stripe width, or minimal_io_size or
optimal_io_size were not factors of the default PE alignment (either 64K
or the newer default of 1MB, etc).  This bug would manifest if the
default PE alignment was larger than the overriding hint that the
device provided (e.g. default of 1MB vs optimal_io_size of 768K).

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2013-05-13 15:56:47 -04:00
..
lv_alloc.h discards: don't discard reconfigured extents 2012-06-27 22:12:01 +01:00
lv_manip.c snapshot: rework cluster creation and removal 2013-04-25 17:33:24 +02:00
lv.c lv: fix typedef 2013-05-03 16:02:43 +02:00
lv.h lv: fix typedef 2013-05-03 16:02:43 +02:00
merge.c thin: add support for external origin 2013-02-23 10:36:58 +01:00
metadata-exported.h RAID: Add writemostly/writebehind support for RAID1 2013-04-15 13:59:46 -05:00
metadata.c Fix alignment of PV data area if detected alignment less than 1 MB 2013-05-13 15:56:47 -04:00
metadata.h lvmetad: Check for reappeared PVs. 2013-04-03 12:48:28 +02:00
mirror.c lv_manip: check remove_seg_from_segs_using_this_lv() 2013-04-21 23:10:43 +02:00
pv_alloc.h discards: split discard from release_pv_segment 2012-06-27 22:11:54 +01:00
pv_manip.c config: refer to config nodes using assigned IDs 2013-03-06 10:14:33 +01:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_header_extension: add support for reading PV header extension (flags & Embedding Area) 2013-02-26 11:27:23 +01:00
pv.h pv_header_extension: add support for reading PV header extension (flags & Embedding Area) 2013-02-26 11:27:23 +01:00
raid_manip.c cleanup: drop unused assignment 2013-04-21 23:14:04 +02:00
replicator_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h cleanup: indent line 2013-04-02 15:17:05 +02:00
snapshot_manip.c snapshot: rework cluster creation and removal 2013-04-25 17:33:24 +02:00
thin_manip.c lv_manip: check remove_seg_from_segs_using_this_lv() 2013-04-21 23:10:43 +02:00
vg.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
vg.h Add free_orphan_vg 2012-02-13 11:03:59 +00:00