|
|
Subscribe / Log in / New account

Support for atomic IOs

From:  Chris Mason <chris.mason@fusionio.com>
To:  Linux FS Devel <linux-fsdevel@vger.kernel.org>, Jens Axboe <axboe@kernel.dk>
Subject:  [PATCH 0/2] Support for atomic IOs
Date:  Fri, 1 Nov 2013 17:27:04 -0400
Message-ID:  <20131101212704.10239.73920@localhost.localdomain>
Archive‑link:  Article

Hi everyone,

I'm still testing this (especially to look for unrelated regressions in
MD and DM), but wanted to send it out for comments.

These two patches implement support for atomic IOs down to the hardware.
The basic idea is that we give a list of bios to the storage and even
if they are discontiguous the hardware promises to complete them as a
single atomic unit.

The first user for this is O_DIRECT, especially for mysql based
databases.  O_ATOMIC | O_DIRECT allows mysql and friends to disable
double buffering.  This cuts their write IO in half, making them
roughly 2x more flash friendly.

The patches are on top of Jens' current blk-mq/core tree.  Jens
also has chaining patches from Kent, but he is chaining bios likely to
be sent to separate devices, while I'm chaining bios that must
(currently) be sent to the same device as a group.

As far as I can tell, there isn't much overlap in our targets or
methods, but I'd like to eventually merge the ideas together.

-chris

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds