freebsd-skq/sys/gnu
Bruce Evans e8a28f87d8 MFffs ffs_balloc.c 1.5.
Long ago, bread() set b_blkno to the disk block number as a side effect
of doing physical i/o (or it just retained the setting from when the
i/o was done).  The setting is lost when buffers go away and then are
reconsituted from VM.  bread() originally compensated by doing a
VOP_BMAP() to recover b_blkno, but this was no good since it sometimes
caused extra i/o or even deadlock for bread()ing metadata to do the
bmap.  This was fixed in vfs_bio.c 1.33 (1995/03/03) and ffs_balloc.c
1.5, etc., by removing the VOP_BMAP() from bread() and breadn(), and
changing all (?) places that used b_blkno to set it if necessary.

ext2fs was not imported until later in 1995 and was still depending on
the old behaviour of bread() in at least ext2_balloc().  This caused
filesystem and file corruption by clobbering direct block numbers in
inodes.
2001-04-25 10:33:09 +00:00
..
dev/sound/pci Driver for the ESS Maestro3 and Allegro sound chips. Note that due to the 2001-02-01 20:29:16 +00:00
ext2fs MFffs ffs_balloc.c 1.5. 2001-04-25 10:33:09 +00:00
fs/ext2fs MFffs ffs_balloc.c 1.5. 2001-04-25 10:33:09 +00:00
i386/fpemul Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00