All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/6] xfs: DAX support
@ 2015-03-03 23:30 ` Dave Chinner
  0 siblings, 0 replies; 40+ messages in thread
From: Dave Chinner @ 2015-03-03 23:30 UTC (permalink / raw)
  To: xfs; +Cc: linux-fsdevel, jack, willy

Hi folks,

This is the first pass I've made for supporting DAX in XFS. Most
of the XFS changes are straight forward and fairly self contained,
and mostly seem to work.

The first patch, however, is changing the DAX infrastructure to take
a "block zeroing completion" function for dax_fault() so that we
don't need to abuse the mapping bufferhead to pass the completion
function. This is straight forward for XFS, but the ext4 code is,
well, it's already broken so I don't think I've made anything worse.

I note that Jan Kara is aware of the problems related to the
unwritten extent conversion in ext4, as mentioned here earlier
today on the ext4 list (items 1 and 2):

http://permalink.gmane.org/gmane.comp.file-systems.ext4/47943

So really my only concern here is cleaning up the interface to
remove the mapping bh hack, not whether ext4 works reliably or not.
The XFS implementation does not have any of the problems the ext4
code does.

The rest of the series adds all the DAX hooks into the required code
paths for block zeroing, page fault, io, truncate and finally the
mount path for the dax mount option.

The series passes xfstests without and serious problems - there are
a couple of tests where the extent layout isn't as the tests expect,
but these are minor issues that don't affect correctness.

Comments welcome, especially on the this dax_fault callback patch.

-Dave.


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

end of thread, other threads:[~2015-03-24  8:13 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 23:30 [RFC PATCH 0/6] xfs: DAX support Dave Chinner
2015-03-03 23:30 ` Dave Chinner
2015-03-03 23:30 ` [PATCH 1/6] dax: don't abuse get_block mapping for endio callbacks Dave Chinner
2015-03-03 23:30   ` Dave Chinner
2015-03-04 15:54   ` Jan Kara
2015-03-04 15:54     ` Jan Kara
2015-03-04 22:29     ` Dave Chinner
2015-03-04 22:29       ` Dave Chinner
2015-03-03 23:30 ` [PATCH 2/6] xfs: add DAX block zeroing support Dave Chinner
2015-03-03 23:30   ` Dave Chinner
2015-03-03 23:30 ` [PATCH 3/6] xfs: add DAX file operations support Dave Chinner
2015-03-03 23:30   ` Dave Chinner
2015-03-04 10:09   ` Boaz Harrosh
2015-03-04 10:09     ` Boaz Harrosh
2015-03-04 13:01     ` Dave Chinner
2015-03-04 13:01       ` Dave Chinner
2015-03-04 14:54       ` Boaz Harrosh
2015-03-04 14:54         ` Boaz Harrosh
2015-03-04 22:03         ` Dave Chinner
2015-03-04 22:03           ` Dave Chinner
2015-03-24  4:27           ` Dave Chinner
2015-03-24  4:27             ` Dave Chinner
2015-03-24  7:01             ` Christoph Hellwig
2015-03-24  7:01               ` Christoph Hellwig
2015-03-24  8:13             ` Boaz Harrosh
2015-03-24  8:13               ` Boaz Harrosh
2015-03-04 16:18   ` Jan Kara
2015-03-04 16:18     ` Jan Kara
2015-03-04 22:00     ` Dave Chinner
2015-03-04 22:00       ` Dave Chinner
2015-03-05 11:05       ` Jan Kara
2015-03-05 11:05         ` Jan Kara
2015-03-22 23:02         ` Dave Chinner
2015-03-22 23:02           ` Dave Chinner
2015-03-03 23:30 ` [PATCH 4/6] xfs: add DAX truncate support Dave Chinner
2015-03-03 23:30   ` Dave Chinner
2015-03-03 23:30 ` [PATCH 5/6] xfs: add DAX IO path support Dave Chinner
2015-03-03 23:30   ` Dave Chinner
2015-03-03 23:30 ` [PATCH 6/6] xfs: add initial DAX support Dave Chinner
2015-03-03 23:30   ` 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.