mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
Btrfs: Integrate metadata reservation with start_transaction
Besides simplify the code, this change makes sure all metadata reservation for normal metadata operations are released after committing transaction. Changes since V1: Add code that check if unlink and rmdir will free space. Add ENOSPC handling for clone ioctl. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
f0486c68e4
commit
a22285a6a3
15 changed files with 678 additions and 528 deletions
405
fs/btrfs/inode.c
405
fs/btrfs/inode.c
163
fs/btrfs/ioctl.c
163
fs/btrfs/ioctl.c
Loading…
Add table
Add a link
Reference in a new issue