Skip to content

Instantly share code, notes, and snippets.

@keyurdg
Created April 22, 2014 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keyurdg/ac6ed8536f864c8fffc8 to your computer and use it in GitHub Desktop.
Save keyurdg/ac6ed8536f864c8fffc8 to your computer and use it in GitHub Desktop.
Doubling of blocks in DIRECT_IO
[root@dbtest09 kgovande]# xfs_bmap -v /var/lib/mysql/xfs/plain_pwrite_*.werr
/var/lib/mysql/xfs/plain_pwrite_0.werr:
EXT: FILE-OFFSET BLOCK-RANGE AG AG-OFFSET TOTAL FLAGS
0: [0..1023]: 1184..2207 0 (1184..2207) 1024 01111
1: [1024..12287]: 13568..24831 0 (13568..24831) 11264 00011
2: [12288..22527]: 35072..45311 0 (35072..45311) 10240 00011
3: [22528..40959]: 63744..82175 0 (63744..82175) 18432 00011
4: [40960..73727]: 114944..147711 0 (114944..147711) 32768 00011
5: [73728..131071]: 205056..262399 0 (205056..262399) 57344 00011
6: [131072..393215]: 360704..622847 0 (360704..622847) 262144 00011
7: [393216..524287]: 786688..917759 0 (786688..917759) 131072 00011
8: [524288..786431]: 1179904..1442047 0 (1179904..1442047) 262144 00011
9: [786432..1572863]: 1835392..2621823 0 (1835392..2621823) 786432 00011
10: [1572864..3145727]: 3146112..4718975 0 (3146112..4718975) 1572864 00011
11: [3145728..4267007]: 6291840..7413119 0 (6291840..7413119) 1121280 00011
/var/lib/mysql/xfs/plain_pwrite_1.werr:
EXT: FILE-OFFSET BLOCK-RANGE AG AG-OFFSET TOTAL FLAGS
0: [0..1023]: 160..1183 0 (160..1183) 1024 01111
1: [1024..12287]: 2304..13567 0 (2304..13567) 11264 00011
2: [12288..22527]: 24832..35071 0 (24832..35071) 10240 00011
3: [22528..40959]: 45312..63743 0 (45312..63743) 18432 00011
4: [40960..73727]: 82176..114943 0 (82176..114943) 32768 00011
5: [73728..131071]: 147712..205055 0 (147712..205055) 57344 00011
6: [131072..229375]: 262400..360703 0 (262400..360703) 98304 00011
7: [229376..393215]: 622848..786687 0 (622848..786687) 163840 00011
8: [393216..655359]: 917760..1179903 0 (917760..1179903) 262144 00011
9: [655360..1048575]: 1442048..1835263 0 (1442048..1835263) 393216 00011
10: [1048576..1572863]: 2621824..3146111 0 (2621824..3146111) 524288 00011
11: [1572864..3145727]: 4718976..6291839 0 (4718976..6291839) 1572864 00011
12: [3145728..4121599]: 9437568..10413439 0 (9437568..10413439) 975872 00011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment