public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: axboe@kernel.dk, James.Bottomley@HansenPartnership.com,
	linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 2/3] block: introduce REQ_FLUSH flag
Date: Sun, 27 Jun 2010 05:52:24 -0400	[thread overview]
Message-ID: <20100627095223.GA6447@infradead.org> (raw)
In-Reply-To: <1277305652-2306-3-git-send-email-fujita.tomonori@lab.ntt.co.jp>

> +++ b/include/linux/bio.h
> @@ -152,6 +152,7 @@ enum rq_flag_bits {
>  	__REQ_SYNC,		/* request is sync (sync write or read) */
>  	__REQ_META,		/* metadata io request */
>  	__REQ_DISCARD,		/* request to discard sectors */
> +	__REQ_FLUSH,		/* request for cache flush */

As we only used this in the request it should go into the struct request
only section at the end of the flags.


  reply	other threads:[~2010-06-27  9:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 15:07 [PATCH 0/3] convert flush request to REQ_TYPE_FS instead of BLOCK_PC FUJITA Tomonori
2010-06-23 15:07 ` [PATCH 1/3] block: set up rq->rq_disk properly for flush requests FUJITA Tomonori
2010-06-23 15:07 ` [PATCH 2/3] block: introduce REQ_FLUSH flag FUJITA Tomonori
2010-06-27  9:52   ` Christoph Hellwig [this message]
2010-06-27 12:44     ` FUJITA Tomonori
2010-06-23 15:07 ` [PATCH 3/3] use REQ_TYPE_FS for flush request FUJITA Tomonori

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=20100627095223.GA6447@infradead.org \
    --to=hch@infradead.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=axboe@kernel.dk \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@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