All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akira Hayakawa <ruby.wktk@gmail.com>
To: ejt@redhat.com
Cc: Greg KH <gregkh@linuxfoundation.org>,
	dm-devel@redhat.com, driverdev-devel@linuxdriverproject.org,
	linux-kernel@vger.kernel.org, snitzer@redhat.com
Subject: Re: [PATCH v3] staging: writeboost: Add dm-writeboost
Date: Sat, 21 Feb 2015 00:25:53 +0900	[thread overview]
Message-ID: <54E75201.9030202@gmail.com> (raw)
In-Reply-To: <20150220150614.GA4740@debian>


[-- Attachment #1.1: Type: text/plain, Size: 914 bytes --]

Yes.

That's another consensus of the block-level log-structured caching
works that I've introduced in the previous post.

For example, NetApp's Mercury (2012) has the following sentence 
indicating that
it also copy data to in-memory buffer and write it (called log chunk in
the paper but I call dm-writeboost's equivalent "RAM buffer") to cache 
device
when it gets full.
```
Once a successful acknowledgment is received, an I/O command’s data is
copied to an in-memory buffer, called a log chunk, and the command is
completed to the upper layer. The log chunk is written to the cache 
device when full.
```

- Akira

On 2015/02/21 0:06, Joe Thornber wrote:
> On Fri, Feb 20, 2015 at 05:44:01PM +0900, Akira Hayakawa wrote:
>> I will wait for ack from dm maintainers.
> Are you still copying the contents of every bio to your own memory
> buffer before writing it to disk?
>
> - Joe


[-- Attachment #1.2: Type: text/html, Size: 1558 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2015-02-20 15:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-01  8:44 [PATCH v3] staging: writeboost: Add dm-writeboost Akira Hayakawa
2015-01-18  0:09 ` Greg KH
2015-01-18  0:09   ` Greg KH
2015-02-20  8:44   ` Akira Hayakawa
2015-02-20  8:44     ` Akira Hayakawa
2015-02-20 15:06     ` Joe Thornber
2015-02-20 15:25       ` Akira Hayakawa [this message]
2015-02-20 15:50         ` Joe Thornber
2015-02-20 16:06           ` Akira Hayakawa
2015-02-20 16:17             ` Joe Thornber
2015-02-21  1:36               ` Akira Hayakawa
2015-02-21  1:36                 ` Akira Hayakawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54E75201.9030202@gmail.com \
    --to=ruby.wktk@gmail.com \
    --cc=dm-devel@redhat.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=ejt@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=snitzer@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.