Home | History | Annotate | Download | only in lfs
History log of /src/sys/ufs/lfs/ulfs_bmap.c
RevisionDateAuthorComments
 1.9  30-Mar-2017  hannken Remove now redundant calls to fstrans_start()/fstrans_done().

Add fstrans_start()/fstrans_done() to lfs_putpages().
 1.8  13-Mar-2017  riastradh #if DIAGNOSTIC panic ---> KASSERT

Replace some #if DEBUG by this too. DEBUG is only for expensive
assertions; these are not.
 1.7  01-Sep-2015  dholland branches: 1.7.2; 1.7.4;
Use the lfs dinode accessors in place of the ufs-derived ones.
(Mostly.)

The ufs-derived ones are fake structure member macros, which are gross
and not very safe. Also, it seems that a lot of places in the lfs code
were using the ffsv1 branch of them unconditionally, and this way it's
guaranteed all those places have been updated.

Found while doing this: for non-devices, have getattr produce NODEV
in the rdev field instead of leaking the address of the first direct
block.
 1.6  02-Aug-2015  dholland Pass the fs object to LFS_MAX_DADDR so it can check lfs_is64.

Remove some hackish intentional 64->32 truncations next to the checks
using LFS_MAX_DADDR, and tackle the problem they handled in bmap
instead.

The problem: the magic block pointer value UNWRITTEN has magic value
-2, and if it's not handled specifically, uint32 -> uint64 promotion
turns it into 4294967294, which then causes consternation and
monkeyhouse downstream.

What's here is still kind of a hack, but it's a step forward.
 1.5  28-Jul-2013  dholland branches: 1.5.4; 1.5.8;
Migrate the miscellaneous ulfs-level info from struct ulfsmount to
struct lfs.

Put them inside #ifdef _KERNEL there. They are not the only such
members, gross as that is. Unfortunately, moving struct lfs to
lfs_kernel.h does not work.
 1.4  06-Jun-2013  dholland branches: 1.4.2; 1.4.4;
Remove stray references to ext2fs, chfs, ffs, and mfs.
 1.3  06-Jun-2013  dholland Split lfs from ufs step 4:

Massedit all ufs symbols to be "ulfs" instead, to make sure there are
no conflicts with ufs. Confirmed with grep.

(This required changing a few comments that maybe should have been
left alone to say "ulfs", but we'll survive that.)
 1.2  06-Jun-2013  dholland Split lfs from ufs, part 2:

Change all <ufs/ufs/foo.h> includes to <ufs/lfs/ulfs_foo.h>.
 1.1  06-Jun-2013  dholland Split lfs from ufs, part 1: cut and paste 15000 lines of ufs as "ulfs".

These are verbatim copies except that I've preserved the ufs rcsids
for reference. Also,
ufs/quota.h -> ulfs_quotacommon.h
ufs/ufs_quota.h -> ulfs_quota.h

Splitting lfs from ufs was ok'd by core some years ago. This is not
from my original tree, which became unmergeable after the several sets
of quota changes; I've done the work over again over the last couple
days.
 1.4.4.1  28-Aug-2013  rmind sync with head
 1.4.2.4  03-Dec-2017  jdolecek update from HEAD
 1.4.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.2  23-Jun-2013  tls resync from head
 1.4.2.1  06-Jun-2013  tls file ulfs_bmap.c was added on branch tls-maxphys on 2013-06-23 06:18:39 +0000
 1.5.8.2  28-Aug-2017  skrll Sync with HEAD
 1.5.8.1  22-Sep-2015  skrll Sync with HEAD
 1.5.4.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.4.1  28-Jul-2013  yamt file ulfs_bmap.c was added on branch yamt-pagecache on 2014-05-22 11:41:19 +0000
 1.7.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.7.2.2  26-Apr-2017  pgoyette Sync with HEAD
 1.7.2.1  20-Mar-2017  pgoyette Sync with HEAD

RSS XML Feed