Re: [PATCH v2 3/4] btrfs: introduce btrfs_subpage_bitmap_info
From: Nikolay Borisov <hidden>
Date: 2021-08-30 14:28:47
On 23.08.21 г. 19:45, David Sterba wrote:
On Tue, Aug 17, 2021 at 01:11:43PM +0300, Nikolay Borisov wrote:quoted
quoted
+/* + * Extra info for subpapge bitmap. + * + * For subpage we pack all uptodate/error/dirty/writeback/ordered + * bitmaps into one larger bitmap. + * + * This structure records how they are organized in such bitmap: + * + * /- uptodate_offset /- error_offset /- dirty_offset + * | | | + * v v v + * |u|u|u|u|........|u|u|e|e|.......|e|e| ... |o|o|nit: the 'e' that the dirty offset is pointing to should be a 'd', I'm sure David can fix this while merging.I don't see any 'e' under the dirty offset arrow, there's just 'o' and the arrow points to end of |e|e| and continues with ...
What I wanted to say is that every arrow beneat the respective type - uptodate/error/dirty should point to a letter corresponding to the first letter of the respective word. I.e the dirty offset points into ... whilst the |o|o| at the end likely mean "other" but is confusing i.e dirty offset should be pointing to a |d| box.