mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: "Chen, Kenneth W" <kenneth.w.chen@intel.com>,
	"'Zach Brown'" <zach.brown@oracle.com>,
	Chris Mason <chris.mason@oracle.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [patch] optimize o_direct on block device - v2
Date: Tue, 5 Dec 2006 09:44:10 -0800	[thread overview]
Message-ID: <20061205094410.cfca53fe.akpm@osdl.org> (raw)
In-Reply-To: <20061205110230.GA13490@infradead.org>

On Tue, 5 Dec 2006 11:02:30 +0000
Christoph Hellwig <hch@infradead.org> wrote:

> > +	long res;
> > +
> > +	if ((bio->bi_rw & 1) == READ)
> 
> I just wanted to complain about not using a proper helper for this,
> but apparently we don't have one yet..

There's bio_data_dir().

  reply	other threads:[~2006-12-05 17:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05  4:55 Chen, Kenneth W
2006-12-05 11:02 ` Christoph Hellwig
2006-12-05 17:44   ` Andrew Morton [this message]
2006-12-06  1:06 ` Andrew Morton

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=20061205094410.cfca53fe.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=chris.mason@oracle.com \
    --cc=hch@infradead.org \
    --cc=kenneth.w.chen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zach.brown@oracle.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®