Messages in this thread |  | | Date | Fri, 25 May 2001 22:12:51 +0200 | From | Andrea Arcangeli <> | Subject | blkdev-pagecache-2 [was Re: DVD blockdevice buffers] |
| |
On Thu, May 24, 2001 at 12:32:20AM +0200, Andrea Arcangeli wrote: > userspace. I will try to work on the blkdev patch tomorrow to bring it > in an usable state.
It seems in an usable state right but it is still very early beta, I need to recheck the whole thing, I will do that tomorrow, for now it should get it right the fsck on a ro mount fs and the cache coherency across multiple inodes all pointing to the same blkdev, it actually worked without any problem in the first basic tests I did. However I expect it to corrupt a rw mounted fs if you open the blkdev under it (the fsck test happens with the fs ro), so while it's in an usable state it's not ready for public consumation yet. Of course ramdisk is still totally broken too. The other first round of bugs mentioned in the first thread should be fixed. The blocksize is still hardwired to 4k, I'll think about the read-modify-write problem later. About the proposed readpage API change I think it's not worthwhile for new hardware where reading 1k or 4k doesn't make relevant difference. Handling partial I/O seems worthwhile only during writes because a partial write would otherwise trigger a read-modify-write operation with a synchronous read.
ftp://ftp.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.4.5pre6/blkdev-pagecache-2
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/
|  |