Switch to on-stack variables for block reserves
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 0 repliesNew
Changes in v2 from the cover letter
- drop patch replacing allocated reserve in relocation, crash in btrfs/190
- v1 https://lore.kernel.org/linux-btrfs/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: use on-stack variable for block reserve in btrfs_evict_inode()fs/ | +12 | 0 replies | |
| 2/3 | btrfs: use on-stack variable for block reserve in btrfs_truncate()fs/ | +10 | 0 replies | |
| 3/3 | btrfs: use on-stack variable for block reserve in btrfs_replace_file_extents()fs/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/3 v2] Switch to on-stack variables for block reserves
The block reserve structure is small enough to fit on stack so do that in a few functions and avoid allocation.
v2:
- drop patch replacing allocated reserve in relocation, crash in btrfs/190
- v1 https://lore.kernel.org/linux-btrfs/[email protected]/
David Sterba (3):
btrfs: use on-stack variable for block reserve in btrfs_evict_inode()
btrfs: use on-stack variable for block reserve in btrfs_truncate()
btrfs: use on-stack variable for block reserve in
btrfs_replace_file_extents()
fs/btrfs/file.c | 29 ++++++++++++----------------- fs/btrfs/inode.c | 47 ++++++++++++++++++++++------------------------- 2 files changed, 34 insertions(+), 42 deletions(-)
Signature · 1 line
2.47.1