The NetBSD Project

CVS log for src/sys/ufs/ffs/ffs_wapbl.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / ffs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 25 11:35:55 2013 UTC (5 months, 4 weeks ago) by martin
Branch: MAIN
CVS Tags: tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, HEAD
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Turn a few __unused into __diagused

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 20 00:29:10 2013 UTC (6 months ago) by htodd
Branch: MAIN
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

Definining needswap where needed.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 19 19:29:59 2013 UTC (6 months ago) by martin
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Mark a potentially unused variable

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 23 22:03:34 2013 UTC (10 months ago) by dholland
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

Stick ffs_ in front of the following macros:
   fragstoblks()
   blkstofrags()
   fragnum()
   blknum()

to finish the job of distinguishing them from the lfs versions, which
Christos renamed the other day.

I believe this is the last of the overtly ambiguous exported symbols
from ffs... or at least, the last of the ones that conflicted with lfs.
ffs still pollutes the C namespace very broadly (as does ufs) and this
needs quite a bit more cleanup.

XXX: boo on macros with lowercase names. But I'm not tackling that just yet.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jun 23 07:28:37 2013 UTC (10 months ago) by dholland
Branch: MAIN
Changes since 1.20: +7 -7 lines
Diff to previous 1.20 (colored)

Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:05 2013 UTC (10 months ago) by dholland
Branch: MAIN
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)

Revision 1.17.18.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:16 2013 UTC (13 months, 4 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.17: +8 -5 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

resync with head

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:33 2013 UTC (15 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.17: +8 -5 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:16 2013 UTC (15 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, tls-maxphys-base, khorben-n900, agc-symver-base, agc-symver
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:44 2012 UTC (16 months ago) by hannken
Branch: MAIN
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored)

Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:32 2011 UTC (3 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.15: +13 -7 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 24 13:38:57 2010 UTC (3 years, 4 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.16: +8 -6 lines
Diff to previous 1.16 (colored)

For update mounts the root vnode is already in use and we must not
free it. Since the mount persists even when the update fails,
this is not a problem either.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 23 14:43:37 2010 UTC (3 years, 4 months ago) by mlelstv
Branch: MAIN
Changes since 1.15: +10 -6 lines
Diff to previous 1.15 (colored)

mount(2) doesn't remove vnodes from the freelist in the error path,
so that they get reused with a invalid pointer to a mount structure.

As a workaround, free the vnodes used to create the in-filesystem journal
immediately.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:35 2010 UTC (3 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.13: +55 -60 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.6.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:26 2010 UTC (4 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync to netbsd-5

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:44 2010 UTC (4 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12.2.3: +55 -60 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Sat Feb 27 12:04:19 2010 UTC (4 years, 1 month ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.14: +10 -2 lines
Diff to previous 1.14 (colored)

Store physical block numbers in superblock that point to the journal.
Calculate position of both commit headers correctly for disks with
large sectors.
Correct calculation of circular buffer size.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 23 20:41:41 2010 UTC (4 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.13: +47 -60 lines
Diff to previous 1.13 (colored)

Replace individual queries for partition information with
new helper function.
Use this information to query physical sector sizes for WAPBL
instead of hardcoded defaults.
No longer limits physical sector sizes to 512 bytes.

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Sat Oct 3 22:49:43 2009 UTC (4 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1036):
	sbin/fsck_ffs/extern.h: revision 1.25 via patch
	sbin/fsck_ffs/setup.c: revision 1.88 via patch
	sbin/fsck_ffs/wapbl.c: revision 1.4 via patch
	sbin/tunefs/tunefs.c: revision 1.41 via patch
	sys/ufs/ffs/ffs_vfsops.c: revision 1.252 via patch
	sys/ufs/ffs/ffs_wapbl.c: revision 1.13 via patch
Allow tunefs to clear any type of WAPBL log, not only in-filesystem
ones. Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.
--
Do some basic checks of the WAPBL journal, to abort the boot before the
kernel refuse to mount a filesystem read-write (booting a system
multiuser with critical filesystems read-only is bad):
Add a check_wapbl() which will check some WAPBL values in the superblock,
and try to read the journal via wapbl_replay_start() if there is one.
pfatal() if one of these fail (abort boot if in preen mode,
as "CONTINUE" otherwise). In non-preen mode the bogus journal will
be cleared.
check_wapbl() is always called if the superblock supports WAPBL.
Even if FS_DOWAPBL is not there, there could be flags asking the
kernel to clear or create a log with bogus values which would cause the
kernel refuse to mount the filesystem.
Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.
--
If the WAPBL journal can't be read (ffs_wapbl_replay_start() fails),
mount the filesystem anyway if MNT_FORCE is present.
This allows to still boot single-user a system with a corrupted
WAPBL on /, and so get a chance to run fsck to fix it.
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:07 2009 UTC (4 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12.2.2: +3 -3 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 13 14:13:23 2009 UTC (4 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Allow tunefs to clear any type of WAPBL log, not only in-filesystem
ones. Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:07 2009 UTC (4 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.11: +2 -11 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:38 2009 UTC (4 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12.2.1: +882 -0 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:34:39 2009 UTC (5 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.6.6.1: +5 -14 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.12.2.1, Sun Feb 22 20:28:06 2009 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12: +0 -882 lines
FILE REMOVED

file ffs_wapbl.c was added on branch yamt-nfs-mp on 2009-05-04 08:14:38 +0000

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 22 20:28:06 2009 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Branch point for: yamt-nfs-mp
Changes since 1.11: +2 -11 lines
Diff to previous 1.11 (colored)

PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 31 09:22:08 2009 UTC (5 years, 2 months ago) by yamt
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

0 -> NULL

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 31 09:14:15 2009 UTC (5 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

wapbl_log_position: 1 -> MNT_WAIT

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:32 2009 UTC (5 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.6: +7 -15 lines
Diff to previous 1.6 (colored)

Sync with HEAD.

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:42 2009 UTC (5 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6.4.2: +5 -13 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:41 2008 UTC (5 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.1.4.1: +7 -15 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 30 16:20:44 2008 UTC (5 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.8: +3 -14 lines
Diff to previous 1.8 (colored)

Split ffs_blkalloc into a frontend that does inode based consistency
checks and a backend that just asserts them. Use the backend in
ffs_wapbl_abort_sync_metadata instead of faking an inode.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 11 21:02:54 2008 UTC (5 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

wapbl_replay_free needs the reply to have been stopped, so make sure
that the changes happen in the right order. Reported by veego@

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 10 20:12:13 2008 UTC (5 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

Reduce internals of WAPBL exposed to the rest of the system.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:10 2008 UTC (5 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.1: +899 -0 lines
Diff to previous 1.1 (colored)

Sync with HEAD.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:06 2008 UTC (5 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6.4.1: +899 -0 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:05 2008 UTC (5 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6.2.1: +899 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.6.4.1, Mon Sep 8 03:16:43 2008 UTC (5 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6: +0 -899 lines
FILE REMOVED

file ffs_wapbl.c was added on branch mjf-devfs2 on 2008-09-28 10:41:06 +0000

Revision 1.6.2.1, Mon Sep 8 03:16:43 2008 UTC (5 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6: +0 -899 lines
FILE REMOVED

file ffs_wapbl.c was added on branch wrstuden-revivesa on 2008-09-18 04:37:05 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 8 03:16:43 2008 UTC (5 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: wrstuden-revivesa, nick-hppapmap, netbsd-5, mjf-devfs2, matt-nb5-mips64
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

Move successful removal of unreferenced inodes under WAPBL_DEBUG to not
spam the console.

OK simon@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 5 13:39:29 2008 UTC (5 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

zu, not zd, to print size_t

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 4 15:55:11 2008 UTC (5 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.3: +41 -2 lines
Diff to previous 1.3 (colored)

Only allow WAPBL to operate with UFS2 style superblocks.

Problem reported by Takeshi Nakayama.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 2 02:23:51 2008 UTC (5 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

When checking if there's enough space at the end of a partition,
compare bytes vs bytes, not sectors vs bytes.

Problem discovered and fix tested by Michael Hitch.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 31 05:38:06 2008 UTC (5 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.1: +858 -0 lines
Diff to previous 1.1 (colored)

Merge the simonb-wapbl branch.  From the original branch commit:

   Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Mon Jul 28 12:40:06 2008 UTC (5 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1.2.3: +547 -83 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Add support for creating a WAPBL log in the filesystem.  Will
create an in-filesystem log on first "mount -o log" if one doesn't
exist, and will then continue to use same log in the future.  See
(soon to be added) wapbl(4) for more info.

Adds a new B_CONTIG low-level allocation flag that uses hints in
"struct ffs_inode_ext" to lay out an ffs file's data contiguously.

Thanks to Greg Oster for helping with the design of this and to
Antti Kantee for code review and suggestions.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Jul 3 16:40:26 2008 UTC (5 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1.2.2: +46 -2 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Store the location of the journal in the superblock.  Currently
nothing really uses this, other than replay checking that what is
in the superblock matches what it expects.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Jun 12 08:39:22 2008 UTC (5 years, 10 months ago) by martin
Branch: simonb-wapbl
Changes since 1.1.2.1: +2 -9 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

License police

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Jun 10 14:51:23 2008 UTC (5 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1: +357 -0 lines
Diff to previous 1.1 (colored)

Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block
Logging) journaling code.  Originally written by Darrin B. Jewell
while at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

Still a number of issues - look in doc/BRANCHES for "simonb-wapbl"
for more info.

Revision 1.1, Tue Jun 10 14:51:23 2008 UTC (5 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pf42-base4, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: simonb-wapbl, haad-dm
FILE REMOVED

file ffs_wapbl.c was initially added on branch simonb-wapbl.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>