public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Liu Bo <bo.li.liu@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v2] Btrfs: add readahead for send_write
Date: Tue, 4 Mar 2014 13:31:27 +0100	[thread overview]
Message-ID: <20140304123127.GG7004@suse.cz> (raw)
In-Reply-To: <20140304024951.GB27809@localhost.localdomain>

On Tue, Mar 04, 2014 at 10:49:52AM +0800, Liu Bo wrote:
> On Mon, Mar 03, 2014 at 03:25:28PM +0100, David Sterba wrote:
> > This should not be a hard failure, it can continue without RA for this
> > buffer. Besides, the RA buffer can be allocated at the beginning of send
> > operation and pointer stored in the send context.
> 
> Good point, I think we can fold this into 'struct send_ctx', do you agree?

Sure, size of send_ctx + readahead state will remain below 512.

      reply	other threads:[~2014-03-04 12:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03  9:24 [PATCH v2] Btrfs: add readahead for send_write Liu Bo
2014-03-03 14:25 ` David Sterba
2014-03-04  2:49   ` Liu Bo
2014-03-04 12:31     ` David Sterba [this message]

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=20140304123127.GG7004@suse.cz \
    --to=dsterba@suse.cz \
    --cc=bo.li.liu@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox