]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Generalize UFS buffer pager to allow it serving other filesystems
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 28 Oct 2016 11:43:59 +0000 (11:43 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 28 Oct 2016 11:43:59 +0000 (11:43 +0000)
commitc39baa74808828a263ab219fab40777aad1229d1
tree61a13bd8ba8bccc8120584d15d9032db6c8d90df
parent2aa3944510b50cbe6999344985a5a9c3208063b2
Generalize UFS buffer pager to allow it serving other filesystems
which also use buffer cache.

Most important addition to the code is the handling of filesystems
where the block size is less than the machine page size, which might
require reading several buffers to validate single page.

Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
sys/kern/vfs_bio.c
sys/sys/buf.h
sys/ufs/ffs/ffs_vnops.c