mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benny Halevy <bhalevy@panasas.com>
To: Jens Axboe <jaxboe@fusionio.com>
Cc: Benny Halevy <bhalevy@panasas.com>,
	Christoph Hellwig <hch@lst.de>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Boaz Harrosh <bharrosh@panasas.com>
Subject: Re: [PATCH] SQUASHME: pnfs-obj: fix REQ flags usage
Date: Mon, 13 Sep 2010 21:04:55 +0200	[thread overview]
Message-ID: <4C8E75D7.4010205@panasas.com> (raw)
In-Reply-To: <1284404221-3673-1-git-send-email-bhalevy@panasas.com>

Please ignore this patch, pilot error...
I'll send the right one momentarily.

Benny

On 2010-09-13 20:57, Benny Halevy wrote:
> fixes "pnfs-obj use REQ flags rather than BIO flags"
> 
> Cc: Boaz Harrosh <bharrosh@panasas.com>
> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
> ---
>  fs/nfs/objlayout/objio_osd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
> index 223980b..75d5df4 100644
> --- a/fs/nfs/objlayout/objio_osd.c
> +++ b/fs/nfs/objlayout/objio_osd.c
> @@ -910,7 +910,7 @@ static int _write_mirrors(struct objio_state *ios, unsigned cur_comp)
>  		} else {
>  			bio = master_dev->bio;
>  			/* FIXME: bio_set_dir() */
> -			bio->bi_rw |= (1 << REQ_WRITE);
> +			bio->bi_rw |= REQ_WRITE;
>  		}
>  
>  		osd_req_write(or, &obj, per_dev->offset, bio, per_dev->length);

      reply	other threads:[~2010-09-13 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 18:57 Benny Halevy
2010-09-13 19:04 ` Benny Halevy [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=4C8E75D7.4010205@panasas.com \
    --to=bhalevy@panasas.com \
    --cc=bharrosh@panasas.com \
    --cc=hch@lst.de \
    --cc=jaxboe@fusionio.com \
    --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

Powered by JetHome