summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-10-21 06:26:55 +0000
committerdillon <dillon@FreeBSD.org>2001-10-21 06:26:55 +0000
commitc6710f54b00521bc8ff02511a7c8e78d577d5286 (patch)
treee89133817db6cde6ee9f22cce6dc71a4fb3821cc /sys/kern/vfs_bio.c
parent3535bdaf2a586dc14089d20ac17a65fd7e62d3f2 (diff)
downloadFreeBSD-src-c6710f54b00521bc8ff02511a7c8e78d577d5286.zip
FreeBSD-src-c6710f54b00521bc8ff02511a7c8e78d577d5286.tar.gz
Documentation
MFC after: 1 day
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 510222c..635e394 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1133,12 +1133,9 @@ brelse(struct buf * bp)
/*
* Get the base offset and length of the buffer. Note that
- * for block sizes that are less then PAGE_SIZE, the b_data
- * base of the buffer does not represent exactly b_offset and
- * neither b_offset nor b_size are necessarily page aligned.
- * Instead, the starting position of b_offset is:
- *
- * b_data + (b_offset & PAGE_MASK)
+ * in the VMIO case if the buffer block size is not
+ * page-aligned then b_data pointer may not be page-aligned.
+ * But our b_pages[] array *IS* page aligned.
*
* block sizes less then DEV_BSIZE (usually 512) are not
* supported due to the page granularity bits (m->valid,
OpenPOWER on IntegriCloud