From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: petkovbb@gmail.com
Cc: Linux IDE mailing list <linux-ide@vger.kernel.org>,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
Helge Deller <deller@gmx.de>, Jens Axboe <jens.axboe@oracle.com>
Subject: Re: [PATCH] ide-cd: fix REQ_QUIET tests in cdrom_decode_status
Date: Tue, 28 Apr 2009 14:37:04 +0400 [thread overview]
Message-ID: <49F6DC50.7000106@ru.mvista.com> (raw)
In-Reply-To: <9ea470500904270903n720ab411o4a6c47945442bea4@mail.gmail.com>
Borislav Petkov wrote:
> Original patch (dfa4411cc3a690011cab90e9a536938795366cf9) was buggy.
> This is a more proper fix which introduces blk_rq_quiet() macro
> alleviating the need for dumb, too short caching variables.
> Thanks to Helge Deller and Bart for debugging this.
> Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
> diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
> index ba54c83..6f841fb 100644
> --- a/include/linux/blkdev.h
> +++ b/include/linux/blkdev.h
> @@ -598,6 +598,7 @@ enum {
> blk_failfast_transport(rq) || \
> blk_failfast_driver(rq))
> #define blk_rq_started(rq) ((rq)->cmd_flags & REQ_STARTED)
> +#define blk_rq_quiet(rq) ((rq)->cmd_flags & REQ_QUIET)
>
> #define blk_account_rq(rq) (blk_rq_started(rq) && (blk_fs_request(rq)
> || blk_discard_rq(rq)))
The patch looks like-wrapped...
MBR, Sergei
next prev parent reply other threads:[~2009-04-28 10:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-27 16:03 [PATCH] ide-cd: fix REQ_QUIET tests in cdrom_decode_status Borislav Petkov
2009-04-28 10:37 ` Sergei Shtylyov [this message]
2009-04-28 21:38 ` Borislav Petkov
2009-04-30 16:28 ` Bartlomiej Zolnierkiewicz
2009-04-28 21:40 ` Helge Deller
2009-04-29 5:26 ` Borislav Petkov
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=49F6DC50.7000106@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=bzolnier@gmail.com \
--cc=deller@gmx.de \
--cc=jens.axboe@oracle.com \
--cc=linux-ide@vger.kernel.org \
--cc=petkovbb@gmail.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 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.