public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: fix a couple of swap extent issues
@ 2014-06-06  8:22 Dave Chinner
  2014-06-06  8:22 ` [PATCH 1/2] xfs: fix swapext ilock deadlock Dave Chinner
  2014-06-06  8:22 ` [PATCH 2/2] xfs: flush both inodes in xfs_swap_extents Dave Chinner
  0 siblings, 2 replies; 4+ messages in thread
From: Dave Chinner @ 2014-06-06  8:22 UTC (permalink / raw)
  To: xfs

Hi folks,

Eric pointed out that this morning that if xfs_fsr didn't fsync the
target file, the swap extents ioctl deadlocked. Dumb bug, simple
fix. I also made sure that swap extent treats both inodes the same
in terms of flushing, page cache pages and being mmap()d so that if
anyone other than xfs_fsr uses it it doesn't go boom when the second
inode is not a newly created empty file.

Thoughts?

-Dave.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2014-06-06 19:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06  8:22 [PATCH 0/2] xfs: fix a couple of swap extent issues Dave Chinner
2014-06-06  8:22 ` [PATCH 1/2] xfs: fix swapext ilock deadlock Dave Chinner
2014-06-06 19:59   ` Brian Foster
2014-06-06  8:22 ` [PATCH 2/2] xfs: flush both inodes in xfs_swap_extents Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox