From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: block request execution failing on RHEL6.0 (2.6.32-71.el6.x86_64)
Date: Wed, 27 Apr 2011 00:22:55 +0700 [thread overview]
Message-ID: <BANLkTikVYC7WbbKxjxp9HFQXm6RTQsr6Fg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=LLZnKod1M3DubXjqVCroOjmf3gw@mail.gmail.com>
On Wed, Apr 27, 2011 at 00:12, ajit jain <ajit4mail@gmail.com> wrote:
> Hi All,
>
> I have found the issue.
>
> in kernel prior to RHEL 6.0 blk_pc_request(rq) is define as:
> #define blk_pc_request(rq)????? ((rq)->flags & REQ_BLOCK_PC)
> while in RHEL 6.0 it is define as:
> #define blk_pc_request(rq)????? ((rq)->cmd_type == REQ_TYPE_BLOCK_PC)
>
> So, the issue was adding I was REQ_NOMERGE flag in cmd_type field of the
> request. This was making blk_pc_request(rq) to return false and thats why
> IOs were not going to scsi layer.
Wow, great research! May I suggest something? I think you need to
inform this bug to RHEL kernel team.... quite likely it's a serious
regression.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
prev parent reply other threads:[~2011-04-26 17:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 12:36 block request execution failing on RHEL6.0 (2.6.32-71.el6.x86_64) ajit jain
2011-04-26 17:12 ` ajit jain
2011-04-26 17:22 ` Mulyadi Santosa [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=BANLkTikVYC7WbbKxjxp9HFQXm6RTQsr6Fg@mail.gmail.com \
--to=mulyadi.santosa@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).