Skip to contentSkip to conversation

Btrfs fixes for 5.18-rc6

GIT PULL Merged David Sterba 2 participants 2 messages May 2, 2022 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

a few more fixes mostly around how some file attributes could be set. Please pull, thanks.

- fix handling of compression property
- don't allow setting it on anything else than regular file or directory
- do not allow setting it on nodatacow files via properties

- improved error handling when setting xattr

- make sure symlinks are always properly logged

----------------------------------------------------------------
The following changes since commit 5f0addf7b89085f8e0a2593faa419d6111612b9b:

btrfs: zoned: use dedicated lock for data relocation (2022-04-21 16:06:24 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.18-rc5-tag

for you to fetch changes up to 4b73c55fdebd8939f0f6000921075f7f6fa41397:

btrfs: skip compression property for anything other than files and dirs (2022-04-27 22:20:21 +0200)

----------------------------------------------------------------
Chung-Chiang Cheng (2):
btrfs: export a helper for compression hard check
btrfs: do not allow compression on nodatacow files

Filipe Manana (3):
btrfs: always log symlinks in full mode
btrfs: do not BUG_ON() on failure to update inode when setting xattr
btrfs: skip compression property for anything other than files and dirs

 fs/btrfs/btrfs_inode.h | 11 ++++++++++
 fs/btrfs/inode.c       | 15 ++-----------
 fs/btrfs/props.c       | 59 +++++++++++++++++++++++++++++++++++++++++++++-----
 fs/btrfs/props.h       |  4 +++-
 fs/btrfs/tree-log.c    | 14 +++++++++++-
 fs/btrfs/xattr.c       | 11 +++++++---
 6 files changed, 91 insertions(+), 23 deletions(-)