I've been wondering, what are the explanation of the columns in the /proc/fs/ext4/device_name/mb_groups file. The columns are:#group: free frags first [ 2^0 2^1 2^2 2^3 2^4 2^5 2^6 2^7 2^8 2^9 2^10 2^11 2^12 2^13 ]What's the meaning of every column ?Some basic explanation would suffice, as I am no expert of filesystem's internals, but just curious about these.
Content Explanation Of: /proc/fs/ext4/device_name/mb_groups
linux;filesystems;ext4
I tried my googlefu and it seems really hard to get a straight answer :) and on top of that it also got me curios. I'm gonna post my findings because this might get higher in the google search results.The file contains information on the buddy group cache of that specific disk and it's useful for the fragmentation status of said disk.The fields which I found are for a slightly different output, but at least it's a little more info.:#group: free free frags first pa [ 2^0 2^1 2^2 2^3 2^4 2^5 2^6 2^7 2^8 2^9  2^10 2^11 2^12 2^13] #group numberAvailable blocks in the groupBlocks free on a diskNumber of free fragmentsFirst free block in the groupNumber of preallocated chunks (not blocks)A series of available chunks of different sizesI got my info from here and hereHopefully someone has more info than me.