Re: [RFC PATCH 0/7] Non-blockling buffered fs read (page cache only)
From: Christoph Hellwig
Date: Fri Sep 19 2014 - 07:22:00 EST
On Mon, Sep 15, 2014 at 10:36:46PM +0000, Elliott, Robert (Server Storage) wrote:
> That sounds like the proposed WRITE SCATTERED/READ GATHERED
> commands for SCSI (where are related to, but not necessarily
> tied to, atomic writes). We discussed them a bit at
> LSF-MM 2013 - see http://lwn.net/Articles/548116/.
In the same way a preadx/pwritex could use but would not require an
O_ATOMIC. What's the status of those in t10? Last I heard
READ GATHERED was out and they were only looking into WRITE SCATTERED?
Without the atomic WRITE SCATTERED use case adding the syscalls seems
rather pointless, and I'd really avoid blocking nice software only
features like the per-I/O nonblock flag (and the similarly trivial
per-I/O sync option I have a prototype for) on it.
Speaking of easy flags: while a nonblock flags for writes wouldn't
be anywhere near as easy as the one for reads would there be sufficient
interested in it to bother implementing it?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/