All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH 0/1] iomap: Direct I/O for inline data
@ 2018-06-27  0:39 ` Andreas Gruenbacher
  0 siblings, 0 replies; 39+ messages in thread
From: Andreas Gruenbacher @ 2018-06-27  0:39 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Here's a patch that implements direct I/O for inline data.  Direct I/O
to inline data is a bit weird because it's not direct in the usual
sense, but since Christoph's been asking for it ...

The usual alignment restrictions to the logical block size of the
underlying block device still apply.  I don't see a reason for changing
that; the resulting behavior would only become very weird for no
benefit.

I've tested this against a hacked-up version of gfs2.  However, the
"real" gfs2 will keep falling back to buffered I/O for writes to inline
data: gfs2 takes a shared lock during direct I/O, and writing to the
inode under that shared lock is not allowed.  Ext4 may become the first
actual user of this part of the patch.

Thanks,
Andreas

Andreas Gruenbacher (1):
  iomap: Direct I/O to inline data

 fs/iomap.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

-- 
2.17.1



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

end of thread, other threads:[~2018-07-01 21:44 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-27  0:39 [Cluster-devel] [PATCH 0/1] iomap: Direct I/O for inline data Andreas Gruenbacher
2018-06-27  0:39 ` Andreas Gruenbacher
2018-06-27  0:39 ` Andreas Gruenbacher
2018-06-27  0:39 ` [Cluster-devel] [PATCH 1/1] " Andreas Gruenbacher
2018-06-27  0:39   ` Andreas Gruenbacher
2018-06-27  0:39   ` Andreas Gruenbacher
2018-06-27  1:44   ` [Cluster-devel] " kbuild test robot
2018-06-27  1:44     ` kbuild test robot
2018-06-27  1:44     ` kbuild test robot
2018-06-29  8:56   ` [Cluster-devel] " Christoph Hellwig
2018-06-29  8:56     ` Christoph Hellwig
2018-06-29  8:56     ` Christoph Hellwig
2018-06-29 14:40     ` [Cluster-devel] " Andreas Gruenbacher
2018-06-29 14:40       ` Andreas Gruenbacher
2018-06-29 14:40       ` Andreas Gruenbacher
2018-06-29 16:01       ` [Cluster-devel] " Christoph Hellwig
2018-06-29 16:01         ` Christoph Hellwig
2018-06-29 16:01         ` Christoph Hellwig
2018-06-29 17:02         ` [Cluster-devel] " Andreas Gruenbacher
2018-06-29 17:02           ` Andreas Gruenbacher
2018-06-29 17:02           ` Andreas Gruenbacher
2018-07-01  6:13           ` [Cluster-devel] " Christoph Hellwig
2018-07-01  6:13             ` Christoph Hellwig
2018-07-01  6:13             ` Christoph Hellwig
2018-07-01  6:29       ` [Cluster-devel] " Christoph Hellwig
2018-07-01  6:29         ` Christoph Hellwig
2018-07-01  6:29         ` Christoph Hellwig
2018-07-01 21:44         ` [Cluster-devel] " Andreas Gruenbacher
2018-07-01 21:44           ` Andreas Gruenbacher
2018-07-01 21:44           ` Andreas Gruenbacher
2018-06-27 11:14 ` [Cluster-devel] [PATCH 0/1] " Andreas Gruenbacher
2018-06-27 11:14   ` Andreas Gruenbacher
2018-06-27 11:14   ` Andreas Gruenbacher
2018-06-29  8:43   ` [Cluster-devel] " Christoph Hellwig
2018-06-29  8:43     ` Christoph Hellwig
2018-06-29  8:43     ` Christoph Hellwig
2018-06-29 11:01     ` [Cluster-devel] " Andreas Gruenbacher
2018-06-29 11:01       ` Andreas Gruenbacher
2018-06-29 11:01       ` Andreas Gruenbacher

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.