Re: [PATCH 0/2] xfs: a couple AIL pushing trylock fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 26, 2020 at 09:17:01AM -0400, Brian Foster wrote:
> Hi all,
> 
> Here's a couple more small fixes that fell out of the auto relog work.
> The dquot issue is actually a deadlock vector if we randomly relog dquot
> buffers (which is only done for test purposes), but I figure we should
> handle dquot buffers similar to how inode buffers are handled. Thoughts,
> reviews, flames appreciated.

Oops, I missed this one, will review now...

Do you think there needs to be an explicit testcase for this?  Or are
the current generic/{388,475} good enough?  I'm pretty sure I've seen
this exact deadlock on them every now and again, so we're probably
covered.

--D


> Brian
> 
> Brian Foster (2):
>   xfs: trylock underlying buffer on dquot flush
>   xfs: return locked status of inode buffer on xfsaild push
> 
>  fs/xfs/xfs_dquot.c      |  6 +++---
>  fs/xfs/xfs_dquot_item.c |  3 ++-
>  fs/xfs/xfs_inode_item.c |  3 ++-
>  fs/xfs/xfs_qm.c         | 14 +++++++++-----
>  4 files changed, 16 insertions(+), 10 deletions(-)
> 
> -- 
> 2.21.1
> 



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux