Re: [PATCH 1/5] Forking ext4 filesystem from ext3 filesystem

From: Jeff Garzik
Date: Thu Aug 10 2006 - 16:58:45 EST


Andrew Morton wrote:
On Thu, 10 Aug 2006 16:13:33 -0400
Jeff Garzik <jeff@xxxxxxxxxx> wrote:

The sooner we kill buffer heads and use submit_bio(), the better :)

A buffer_head is a caching entity and a bio is an IO container. They're
quite separate concepts.

Yeah, sorry, I meant direct pagecache I/O. I forgot that bio doesn't handle caching.


A buffer_head is the kernel's sole abstraction of a disk block. Filesystems use disk blocks a lot, and they need such an abstraction.

IMO Al Viro work has shown that you can do pagecache I/O without needing such a heavyweight system.

Jeff



-
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/