aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2023-08-08 01:12:32 +0900
committerDavid Sterba <[email protected]>2023-08-21 14:52:19 +0200
commit7db94301a980c9da4168ac7ce61e7bde297306ba (patch)
tree1504e8b429f091f551ac82557907d7d2a0ddf9c4 /net/lapb/lapb_in.c
parent861093eff4f01319edfc1d1ee276a7f2bf720f1d (diff)
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 <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions