Re: Query about Bio submission / Direct IO
From: Shreyansh
Date: Tue Oct 23 2007 - 01:33:45 EST
Hi list and Boaz,
On 10/22/07, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
> On Fri, Oct 19 2007 at 8:17 +0200, Shreyansh Jain <shreyansh.jain@xxxxxxxxx> wrote:
> > Hi List,
> >
-------8<---------
> > Any idea why it doesn't work (though I am expecting that this doc is 2.6
> > starting era and things might have changed a lot now).
> >
> > Any help would be highly appreciated. Apologies if my channel of approach is
> > wrong and if this post is huge (couldn't keep it shorter than this).
> >
> > Shreyansh
> >
> >
> > [PS: Is this situation something to do with request flags REQ_PC /
> > REQ_BLOCK_PC?? While searching code, I found these somewhere connected to
> > direct IO (bio_add_pc_page) and could find more about them]
> >
----------8<----------
> > -
>
> There was a related fix to a similar problem by Mike Christie, in resent
> Kernels, If there is no chance for you working on newer kernels, than you
> will have to back port it.
>
> it is:
> commit bd441deaf341c524b28fd72831ebf6fef88f1c41
> Author: Mike Christie <michaelc@xxxxxxxxxxx>
> Date: Tue Mar 13 12:52:29 2007 -0500
Thanks a lot for pointing that out to me. I will have a look at that.
>
> [SCSI] fix write buffer length in scsi_req_map_sg()
>
>
> look it up the git trees on kernel.org
Certainly I will do that :) ... Thanks
>
> Boaz
>
Shreyansh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/