in the kiovec yes, but in the same request queue there will be also the
concurrent requests from the filesystem, and they will have different
b_size, see Jens's mail about different b_size merged in the same
request.
actually we could also forbid merging at the ll_rw_block layer if b_size
is not equal, maybe that's the simpler solution to that problem after
all, merging between kiovec I/O and buffered I/O probably doesn't
matter.
> computation is done upon entrance to generic_file_direct_IO, and it is
> kept that way. You don't have bh[0]->b_size = 512; bh[1]->b_size =
> 4096;
> Hmm, maybe you mean things like that rumoured 3-ware issue. I
> dunno. I do know that this code seems to work just fine with ide,
> aha7xxx, and the qlogic driver. Certain software really wants to use
> O_DIRECT, and they align I/O on 512byte boundaries. So any scheme that
> fails this when it doesn't have to is a problem.
>
> > aligned I/O, but still large I/O) So I suggest you to check Badari's
> > stuff and the thread on l-k and to make a new patch incremental with his
>
> I've added myself to that thread as well.
>
> Joel
>
> --
>
> "Vote early and vote often."
> - Al Capone
>
> http://www.jlbec.org/
> jlbec@evilplan.org
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/