summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-06-01 15:39:16 +0100
committerDavid Sterba <dsterba@suse.com>2025-07-21 23:53:30 +0200
commit93612a92bade22c813599388baca1896a0bbc802 (patch)
tree8ce3e414ae4add6b0c42c5fe557be0cc72850ad2 /scripts/lib/kdoc
parent841324a8e60b25b2fa56f93ccc1ef36887593b5a (diff)
btrfs: allocate scratch eb earlier at btrfs_log_new_name()
Instead of allocating the scratch eb after joining the log transaction, allocate it before so that we're not delaying log commits for longer than necessary, as allocating the scratch eb means allocating an extent_buffer structure, which comes from a dedicated kmem_cache, plus pages/folios to attach to the eb. Both of these allocations may take time when we're under memory pressure. Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions