On Wed, Apr 27, 2011 at 00:12, ajit jain <ajit4mail@xxxxxxxxx> 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies