Skip to contentSkip to conversation

xfs: bug fixes for 6.10

GIT PULL Merged Chandan Babu R 2 participants 2 messages Jun 29, 2024 VFS

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull this branch which contains XFS bug fixes for 6.10-rc6. A brief description of the fixes is provided below.

I did a test-merge with the main upstream branch as of a few minutes ago and didn't see any conflicts. Please let me know if you encounter any problems.

The following changes since commit f2661062f16b2de5d7b6a5c42a9a5c96326b8454:

Linux 6.10-rc5 (2024-06-23 17:08:54 -0400)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-6.10-fixes-5

for you to fetch changes up to 673cd885bbbfd873aa6983ce2363a813b7826425:

xfs: honor init_xattrs in xfs_init_new_inode for !ATTR fs (2024-06-26 14:29:25 +0530)

----------------------------------------------------------------
Bug fixes for 6.10-rc6:

* Always free only post-EOF delayed allocations for files with the XFS_DIFLAG_PREALLOC or APPEND flags set.
* Do not align cow fork delalloc to cowextsz hint when running low on space.
* Allow zero-size symlinks and directories as long as the link count is zero.
* Change XFS_IOC_EXCHANGE_RANGE to be a _IOW only ioctl. This was ioctl was introduced during v6.10 developement cycle.
* xfs_init_new_inode() now creates an attribute fork on a newly created inode even if ATTR feature flag is not enabled.

----------------------------------------------------------------
Christoph Hellwig (1):
xfs: fix freeing speculative preallocations for preallocated files

Darrick J. Wong (4):
xfs: restrict when we try to align cow fork delalloc to cowextsz hints
xfs: allow unlinked symlinks and dirs with zero size
xfs: fix direction in XFS_IOC_EXCHANGE_RANGE
xfs: honor init_xattrs in xfs_init_new_inode for !ATTR fs

 fs/xfs/libxfs/xfs_bmap.c      | 31 +++++++++++++++++++++++++++----
 fs/xfs/libxfs/xfs_fs.h        |  2 +-
 fs/xfs/libxfs/xfs_inode_buf.c | 23 ++++++++++++++++++-----
 fs/xfs/xfs_bmap_util.c        | 30 ++++++++++++++++++++++--------
 fs/xfs/xfs_bmap_util.h        |  2 +-
 fs/xfs/xfs_icache.c           |  2 +-
 fs/xfs/xfs_inode.c            | 24 +++++++++++++-----------
 fs/xfs/xfs_iomap.c            | 34 ++++++++++++----------------------
 8 files changed, 95 insertions(+), 53 deletions(-)