freebsd-dev/sys/ufs/ffs
Kirk McKusick 3da0b29d99 The SUJ journal is only prepared to handle full-size block numbers, so we
have to adjust freeblk records to reflect the change to a full-size block.
For example, suppose we have a block made up of fragments 8-15 and
want to free its last two fragments. We are given a request that says:
    FREEBLK ino=5, blkno=14, lbn=0, frags=2, oldfrags=0
where frags are the number of fragments to free and oldfrags are the
number of fragments to keep. To block align it, we have to change it to
have a valid full-size blkno, so it becomes:
    FREEBLK ino=5, blkno=8, lbn=0, frags=2, oldfrags=6

Submitted by: Mikihito Takehara
Tested by:    Mikihito Takehara
Reviewed by:  Jeff Roberson
MFC after:    1 week
2014-08-07 16:53:07 +00:00
..
ffs_alloc.c Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
ffs_balloc.c
ffs_extern.h
ffs_inode.c
ffs_rawread.c Initialize the pbuf counter for directio using SYSINIT, instead of 2014-06-08 10:55:06 +00:00
ffs_snapshot.c
ffs_softdep.c The SUJ journal is only prepared to handle full-size block numbers, so we 2014-08-07 16:53:07 +00:00
ffs_subr.c
ffs_suspend.c
ffs_tables.c
ffs_vfsops.c Extract the code to put a filesystem into the suspended state (at the 2014-07-14 09:10:00 +00:00
ffs_vnops.c - If we fail to do a non-blocking acquire of a buf lock while doing a 2014-03-06 00:13:21 +00:00
fs.h
softdep.h Add support for multi-threading of soft updates. 2014-08-04 22:03:58 +00:00