btrfs: some updates to btrfs_mark_buffer_dirty()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: abort transaction on generation mismatch when marking eb as dirtyfs/ fs/ fs/ +22 more | +205 | 0 replies | |
| 2/3 | btrfs: use btrfs_crit at btrfs_mark_buffer_dirty()fs/ | +3 | 0 replies | |
| 3/3 | btrfs: mark transaction id check as unlikely at btrfs_mark_buffer_dirty()fs/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] btrfs: some updates to btrfs_mark_buffer_dirty()
From: Filipe Manana <[email protected]>
A few updates to btrfs_mark_buffer_dirty(), with the most important one to not allow a transaction to commit when we know there's some corruption due to marking an extent buffer as dirty when its generation does not match the current transaction's generation. More details on the change logs of each patch.
Filipe Manana (3):
btrfs: abort transaction on generation mismatch when marking eb as dirty
btrfs: use btrfs_crit at btrfs_mark_buffer_dirty()
btrfs: mark transaction id check as unlikely at btrfs_mark_buffer_dirty()
fs/btrfs/block-group.c | 4 +- fs/btrfs/ctree.c | 109 +++++++++++++++------------ fs/btrfs/ctree.h | 11 ++- fs/btrfs/delayed-inode.c | 2 +- fs/btrfs/dev-replace.c | 2 +- fs/btrfs/dir-item.c | 8 +- fs/btrfs/disk-io.c | 18 +++-- fs/btrfs/disk-io.h | 3 +- fs/btrfs/extent-tree.c | 36 +++++---- fs/btrfs/file-item.c | 17 +++-- fs/btrfs/file.c | 34 ++++----- fs/btrfs/free-space-cache.c | 6 +- fs/btrfs/free-space-tree.c | 17 +++-- fs/btrfs/inode-item.c | 16 ++-- fs/btrfs/inode.c | 10 +-- fs/btrfs/ioctl.c | 4 +- fs/btrfs/qgroup.c | 14 ++-- fs/btrfs/relocation.c | 10 +-- fs/btrfs/root-tree.c | 4 +- fs/btrfs/tests/extent-buffer-tests.c | 6 +- fs/btrfs/tests/inode-tests.c | 12 ++- fs/btrfs/tree-log.c | 12 +-- fs/btrfs/uuid-tree.c | 6 +- fs/btrfs/volumes.c | 10 +-- fs/btrfs/xattr.c | 8 +- 25 files changed, 208 insertions(+), 171 deletions(-)
Signature · 1 line
2.40.1