All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: fix a couple of potential deadlocks
@ 2018-06-07  5:21 Dave Chinner
  2018-06-07  5:21 ` [PATCH 1/2] xfs: setup VFS i_rwsem lockdep state correctly Dave Chinner
  2018-06-07  5:21 ` [PATCH 2/2] xfs: xfs_reflink_convert_cow() memory allocation deadlock Dave Chinner
  0 siblings, 2 replies; 13+ messages in thread
From: Dave Chinner @ 2018-06-07  5:21 UTC (permalink / raw)
  To: linux-xfs

Hi folks,

These are a couple of small fixes for lockdep enabled kernels. The
first changes the initialisation of the i_rwsem lockdep state
in the XFS code instead of in unlock_new_inode() to avoid lockdep
re-initialising the lock state after it can be found in the cache
and may have other processes waiting on the lock.

The second is adding the correct memory allocation context to
xfs_reflink_convert_cow() as it gets called in the IO path where we
hold pages locked for IO and so we can't recurse back into memory
reclaim.

Cheers,

Dave.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-06-08  0:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07  5:21 [PATCH 0/2] xfs: fix a couple of potential deadlocks Dave Chinner
2018-06-07  5:21 ` [PATCH 1/2] xfs: setup VFS i_rwsem lockdep state correctly Dave Chinner
2018-06-07  5:32   ` Dave Chinner
2018-06-07 11:41     ` Brian Foster
2018-06-07  5:50   ` Allison Henderson
2018-06-07 14:53   ` Darrick J. Wong
2018-06-07  5:21 ` [PATCH 2/2] xfs: xfs_reflink_convert_cow() memory allocation deadlock Dave Chinner
2018-06-07  5:56   ` Allison Henderson
2018-06-07 14:46     ` Darrick J. Wong
2018-06-07 22:08       ` Dave Chinner
2018-06-07 11:41   ` Brian Foster
2018-06-07 14:48     ` Darrick J. Wong
2018-06-08  0:48     ` Dave Chinner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.