Transaction abort macro optimizations
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 0 repliesNew
Changes in v2 from the cover letter
- add patch with the verification
- in second patch reuse local variable for btrfs_abort_should_print_stack()
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: validate negative error number passed to btrfs_abort_transaction()fs/ | +24 | 0 replies | |
| 2/2 | btrfs: simplify how first hit is passed to __btrfs_abort_transaction()fs/ fs/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Transaction abort macro optimizations
Optimize size of the macro btrfs_abort_transaction() by encoding the 'first hit' logic into the error code. Additionally also verify that the error code is negative.
v2:
- add patch with the verification
- in second patch reuse local variable for btrfs_abort_should_print_stack()
David Sterba (2):
btrfs: validate negative error number passed to
btrfs_abort_transaction()
btrfs: simplify how first hit is passed to __btrfs_abort_transaction()
fs/btrfs/transaction.c | 13 ++++++++++++- fs/btrfs/transaction.h | 41 ++++++++++++++++++++++++++++++++++------- 2 files changed, 46 insertions(+), 8 deletions(-)
Signature · 1 line
2.53.0