mbox series

[GIT,PULL] xfs: random fixes for 6.10

Message ID 171907190998.4005061.17863344358205284728.stg-ugh@frogsfrogsfrogs (mailing list archive)
State Accepted, archived
Headers show
Series [GIT,PULL] xfs: random fixes for 6.10 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/random-fixes-6.10_2024-06-22

Message

Darrick J. Wong June 22, 2024, 3:59 p.m. UTC
Hi Chandan,

Please pull this branch with changes for xfs for 6.10-rc5.

As usual, 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.

--D

The following changes since commit 6ba59ff4227927d3a8530fc2973b80e94b54d58f:

Linux 6.10-rc4 (2024-06-16 13:40:16 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/random-fixes-6.10_2024-06-22

for you to fetch changes up to 06400b685a05ef2760d8ba9c8d27d52ced82a83d:

xfs: honor init_xattrs in xfs_init_new_inode for !ATTR fs (2024-06-22 08:57:49 -0700)

----------------------------------------------------------------
xfs: random fixes for 6.10 [v2]

Here are some bugfixes for 6.10.  The first two patches are from hch,
and fix some longstanding delalloc leaks that only came to light now
that we've enabled it for realtime.

The second two fixes are from me -- one fixes a bug when we run out
of space for cow preallocations when alwayscow is turned on (xfs/205),
and the other corrects overzealous inode validation that causes log
recovery failure with generic/388.

The last patch is a debugging patch to ensure that transactions never
commit corrupt inodes, buffers, or dquots.

This has been lightly tested with fstests.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
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(-)

Comments

Christoph Hellwig June 22, 2024, 4 p.m. UTC | #1
On Sat, Jun 22, 2024 at 08:59:00AM -0700, Darrick J. Wong wrote:
> Here are some bugfixes for 6.10.  The first two patches are from hch,

There's actually just one left now :)
Darrick J. Wong June 22, 2024, 4:05 p.m. UTC | #2
On Sat, Jun 22, 2024 at 09:00:03AM -0700, Christoph Hellwig wrote:
> On Sat, Jun 22, 2024 at 08:59:00AM -0700, Darrick J. Wong wrote:
> > Here are some bugfixes for 6.10.  The first two patches are from hch,
> 
> There's actually just one left now :)

Having made a mess of email already, I'm going to leave this one as is
and not try to send more.

--D
Chandan Babu R June 23, 2024, 1:48 p.m. UTC | #3
On Sat, Jun 22, 2024 at 08:59:00 AM -0700, Darrick J. Wong wrote:
> Hi Chandan,
>
> Please pull this branch with changes for xfs for 6.10-rc5.

The new patches mentioned in the PR will have to be queued for 6.10-rc6 as I
have already sent a XFS PR for 6.10-rc5. Can you please rebase the patchset on
6.10-rc5 and resend?
Chandan Babu R June 24, 2024, 6:15 a.m. UTC | #4
On Sun, Jun 23, 2024 at 07:18:19 PM +0530, Chandan Babu R wrote:
> On Sat, Jun 22, 2024 at 08:59:00 AM -0700, Darrick J. Wong wrote:
>> Hi Chandan,
>>
>> Please pull this branch with changes for xfs for 6.10-rc5.
>
> The new patches mentioned in the PR will have to be queued for 6.10-rc6 as I
> have already sent a XFS PR for 6.10-rc5. Can you please rebase the patchset on
> 6.10-rc5 and resend?

Darrick, I have cherry picked the patches from your branch and applied them on
6.10-rc5. The resultant git tree is at
https://git.kernel.org/pub/scm/linux/kernel/git/chandanbabu/linux.git/log/?h=xfs-6.10-fixesD
Darrick J. Wong June 24, 2024, 6:26 a.m. UTC | #5
On Mon, Jun 24, 2024 at 11:45:50AM +0530, Chandan Babu R wrote:
> On Sun, Jun 23, 2024 at 07:18:19 PM +0530, Chandan Babu R wrote:
> > On Sat, Jun 22, 2024 at 08:59:00 AM -0700, Darrick J. Wong wrote:
> >> Hi Chandan,
> >>
> >> Please pull this branch with changes for xfs for 6.10-rc5.
> >
> > The new patches mentioned in the PR will have to be queued for 6.10-rc6 as I
> > have already sent a XFS PR for 6.10-rc5. Can you please rebase the patchset on
> > 6.10-rc5 and resend?
> 
> Darrick, I have cherry picked the patches from your branch and applied them on
> 6.10-rc5. The resultant git tree is at
> https://git.kernel.org/pub/scm/linux/kernel/git/chandanbabu/linux.git/log/?h=xfs-6.10-fixesD

Looks identical to my branch.  Feel free to start testing on that; I've
already started it on my own fleet.

--D

> -- 
> Chandan
>