* [PATCH] SQUASHME: pnfs-obj: fix REQ flags usage
@ 2010-09-13 20:08 Benny Halevy
0 siblings, 0 replies; 3+ messages in thread
From: Benny Halevy @ 2010-09-13 20:08 UTC (permalink / raw)
To: bharrosh; +Cc: linux-nfs, Benny Halevy, Boaz Harrosh
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);
--
1.7.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] SQUASHME: pnfs-obj: fix REQ flags usage
2010-09-13 18:57 Benny Halevy
@ 2010-09-13 19:04 ` Benny Halevy
0 siblings, 0 replies; 3+ messages in thread
From: Benny Halevy @ 2010-09-13 19:04 UTC (permalink / raw)
To: Jens Axboe
Cc: Benny Halevy, Christoph Hellwig, linux-scsi, linux-kernel, Boaz Harrosh
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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] SQUASHME: pnfs-obj: fix REQ flags usage
@ 2010-09-13 18:57 Benny Halevy
2010-09-13 19:04 ` Benny Halevy
0 siblings, 1 reply; 3+ messages in thread
From: Benny Halevy @ 2010-09-13 18:57 UTC (permalink / raw)
To: Jens Axboe
Cc: Christoph Hellwig, linux-scsi, linux-kernel, Benny Halevy, Boaz Harrosh
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);
--
1.7.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-13 20:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-13 20:08 [PATCH] SQUASHME: pnfs-obj: fix REQ flags usage Benny Halevy
-- strict thread matches above, loose matches on Subject: below --
2010-09-13 18:57 Benny Halevy
2010-09-13 19:04 ` Benny Halevy
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.