summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2023-08-07 19:12:32 +0300
committerDavid Sterba <dsterba@suse.com>2023-08-21 15:52:19 +0300
commit7db94301a980c9da4168ac7ce61e7bde297306ba (patch)
tree1504e8b429f091f551ac82557907d7d2a0ddf9c4 /scripts/lib/kdoc/kdoc_files.py
parent861093eff4f01319edfc1d1ee276a7f2bf720f1d (diff)
downloadlinux-7db94301a980c9da4168ac7ce61e7bde297306ba.tar.xz
btrfs: zoned: introduce block group context to btrfs_eb_write_context
For metadata write out on the zoned mode, we call btrfs_check_meta_write_pointer() to check if an extent buffer to be written is aligned to the write pointer. We look up a block group containing the extent buffer for every extent buffer, which takes unnecessary effort as the writing extent buffers are mostly contiguous. Introduce "zoned_bg" to cache the block group working on. Also, while at it, rename "cache" to "block_group". Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions