Messages in this thread | | | Date | Fri, 29 Sep 2006 12:11:57 -0700 | From | Randy Dunlap <> | Subject | Re: fs/bio.c - Hardcoded sector size ? |
| |
On Thu, 28 Sep 2006 19:58:21 +0100 linux-kernel-owner@vger.kernel.org wrote:
> On Fri, Sep 29, 2006 at 11:38:14AM -0700, Randy Dunlap wrote: > > > from bio->bi_bdev->bd_block_size surely - or is some clever code > > > where all block devices have to translate back to 512 byte sectors > > > Does this answer it for you? > > Ahh, Yup. > > Is this documented anywhere ? , I'd suggest a <para> in kernel-api.tmpl > but I'm not sure this is the right place.
I don't know if or where it is documented. You can submit a patch for it. If you don't, I'll put it in my todo queue.
--- ~Randy - 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/
| |