CVS log for src/sys/ufs/ffs/ffs_balloc.c
Up to [cvs.NetBSD.org] / src / sys / ufs / ffs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Nov 17 06:40:40 2022 UTC (2 years ago) by chs
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -2
lines
Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems
from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended
attributes in the process).
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:30:13 2020 UTC (4 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +7 -2
lines
Round of uvm.h cleanup.
The poorly named uvm.h is generally supposed to be for uvm-internal
users only.
- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.
- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.
- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.
- Make uvm_device.h and uvm_swap.h independently includable while
here.
ok chs@
Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:45 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +31 -29
lines
Sync with HEAD
Revision 1.63.14.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:14 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +31 -29
lines
Sync with HEAD
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Apr 18 19:18:34 2020 UTC (4 years, 7 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +31 -29
lines
Extended attribute support for ffsv2, from FreeBSD.
Revision 1.54.14.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:21 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.54.14.3: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.14.3: +17 -15
lines
update from HEAD
Revision 1.62.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:29:52 2017 UTC (7 years, 1 month ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +6 -4
lines
Pull up following revision(s) (requested by pgoyette in ticket #335):
share/man/man9/kernhist.9: 1.5-1.8
sys/arch/acorn26/acorn26/pmap.c: 1.39
sys/arch/arm/arm32/fault.c: 1.105 via patch
sys/arch/arm/arm32/pmap.c: 1.350, 1.359
sys/arch/arm/broadcom/bcm2835_bsc.c: 1.7
sys/arch/arm/omap/if_cpsw.c: 1.20
sys/arch/arm/omap/tiotg.c: 1.7
sys/arch/evbarm/conf/RPI2_INSTALL: 1.3
sys/dev/ic/sl811hs.c: 1.98
sys/dev/usb/ehci.c: 1.256
sys/dev/usb/if_axe.c: 1.83
sys/dev/usb/motg.c: 1.18
sys/dev/usb/ohci.c: 1.274
sys/dev/usb/ucom.c: 1.119
sys/dev/usb/uhci.c: 1.277
sys/dev/usb/uhub.c: 1.137
sys/dev/usb/umass.c: 1.160-1.162
sys/dev/usb/umass_quirks.c: 1.100
sys/dev/usb/umass_scsipi.c: 1.55
sys/dev/usb/usb.c: 1.168
sys/dev/usb/usb_mem.c: 1.70
sys/dev/usb/usb_subr.c: 1.221
sys/dev/usb/usbdi.c: 1.175
sys/dev/usb/usbdi_util.c: 1.67-1.70
sys/dev/usb/usbroothub.c: 1.3
sys/dev/usb/xhci.c: 1.75
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.34
sys/kern/kern_history.c: 1.15
sys/kern/kern_xxx.c: 1.74
sys/kern/vfs_bio.c: 1.275-1.276
sys/miscfs/genfs/genfs_io.c: 1.71
sys/sys/kernhist.h: 1.21
sys/ufs/ffs/ffs_balloc.c: 1.63
sys/ufs/lfs/lfs_vfsops.c: 1.361
sys/ufs/lfs/ulfs_inode.c: 1.21
sys/ufs/lfs/ulfs_vnops.c: 1.52
sys/ufs/ufs/ufs_inode.c: 1.102
sys/ufs/ufs/ufs_vnops.c: 1.239
sys/uvm/pmap/pmap.c: 1.37-1.39
sys/uvm/pmap/pmap_tlb.c: 1.22
sys/uvm/uvm_amap.c: 1.108
sys/uvm/uvm_anon.c: 1.64
sys/uvm/uvm_aobj.c: 1.126
sys/uvm/uvm_bio.c: 1.91
sys/uvm/uvm_device.c: 1.66
sys/uvm/uvm_fault.c: 1.201
sys/uvm/uvm_km.c: 1.144
sys/uvm/uvm_loan.c: 1.85
sys/uvm/uvm_map.c: 1.353
sys/uvm/uvm_page.c: 1.194
sys/uvm/uvm_pager.c: 1.111
sys/uvm/uvm_pdaemon.c: 1.109
sys/uvm/uvm_swap.c: 1.175
sys/uvm/uvm_vnode.c: 1.103
usr.bin/vmstat/vmstat.c: 1.219
Reorder to test for null before null deref in debug code
--
Reorder to test for null before null deref in debug code
--
KNF
--
No need for '\n' in UVMHIST_LOG
--
normalise a BIOHIST log message
--
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3)
format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of
kernhist(9)"
but it is possible that I've missed some of them. I would be glad
to
update any stragglers that anyone identifies.
--
For some reason this single kernel seems to have outgrown its declared
size as a result of the kernhist(9) changes. Bump the size.
XXX The amount of increase may be excessive - anyone with more detailed
XXX knowledge please feel free to further adjust the value
appropriately.
--
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit
--
And yet another one. :(
--
Use correct mark-up for NetBSD version.
--
More improvements in grammar and readability.
--
Remove a stray '"' (obvious typo) and add a couple of casts that are
probably needed.
--
And replace an instance of "%p" conversion with "%#jx"
--
Whitespace fix. Give Bl tag table a width. Fix Xr.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Oct 28 00:37:13 2017 UTC (7 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: phil-wifi,
bouyer-xenpvh
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -4
lines
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3) format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of kernhist(9)"
but it is possible that I've missed some of them. I would be glad to
update any stragglers that anyone identifies.
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:22 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +3 -3
lines
Sync with HEAD
Revision 1.60.6.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:12 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.60.6.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.6.1: +3 -3
lines
Sync with HEAD
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Sep 25 11:45:39 2016 UTC (8 years, 2 months ago) by jdolecek
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3
lines
fix typo in #ifdef notyet part
Revision 1.60.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:32 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +14 -14
lines
Sync with HEAD
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Mar 28 19:24:04 2015 UTC (9 years, 8 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +14 -14
lines
Remove the 'cred' argument from bread(). Remove a now unused var in
ffs_snapshot.c. Update the man page accordingly.
ok hannken@
Revision 1.54.14.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:44 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54.14.2: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.14.2: +39 -43
lines
Rebase to HEAD as of a few days ago.
Revision 1.54.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:18 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.54.4.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.4.1: +46 -50
lines
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")
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:21 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +2 -6
lines
sync with head
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Oct 20 00:29:10 2013 UTC (11 years, 1 month ago) by htodd
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -6
lines
Definining needswap where needed.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Jun 23 07:28:37 2013 UTC (11 years, 5 months ago) by dholland
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +22 -22
lines
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.54.14.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:18:39 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54.14.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.14.1: +10 -10
lines
resync from head
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Jun 23 02:06:05 2013 UTC (11 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +21 -21
lines
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.57: download - view: text, markup, annotated - select for diffs
Wed Jun 19 17:51:26 2013 UTC (11 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +10 -10
lines
Rename ambiguous macros:
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
INOPB -> FFS_INOPB, LFS_INOPB
INOPF -> FFS_INOPF, LFS_INOPF
blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.
Revision 1.54.14.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:15 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +13 -25
lines
resync with head
Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:32 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +13 -25
lines
sync with head
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jan 22 09:39:15 2013 UTC (11 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8,
khorben-n900,
agc-symver-base,
agc-symver
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +13 -13
lines
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.55: download - view: text, markup, annotated - select for diffs
Thu Dec 20 08:03:44 2012 UTC (11 years, 11 months ago) by hannken
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -14
lines
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.51.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 18 17:00:25 2011 UTC (13 years, 5 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +10 -2
lines
Pull up following revision(s) (requested by hannken in ticket #1627):
sys/kern/vfs_wapbl.c: revisions 1.41-1.42
sbin/dump/snapshot.c: revisions 1.6 (patch)
share/man/man4/fss.4: revisions 1.15 (patch)
sys/dev/fss.c: revisions 1.73 (patch)
sys/dev/fssvar.h: revisions 1.25
usr.sbin/fssconfig/fssconfig.c: revisions 1.7
sys/ufs/ffs/ffs_balloc.c: revisions 1.54
sys/ufs/ffs/ffs_snapshot.c: revisions 1.90, 1.98, 1.100-1.101, 1.103-1.110, 1.111, 1.112-1.115 (patch)
- Try to keep snapshot indirect blocks contiguous. This speeds up snapshot
creation by a factor of ~3 and reduces the file system suspension time by
a factor of ~5.
- Refine the scope of WAPBL transactions and the limit for deallocations in
one transaction so we should no longer get a "wapbl_flush: current
transaction too big to flush" panic when creating or removing snapshots
on larger logging disks.
- fss(4): Allow FSSIOCSET to set the initial flags. Add a new flag
"FSS_UNLINK_ON_CREATE" to unlink the backing store before the snapshot
gets created. With this change dump(8) no longer dumps the zero-sized,
but named snapshot it is working on.
Revision 1.52.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:15 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +12 -4
lines
Sync with HEAD.
Revision 1.52.4.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:13 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.52.4.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.4.1: +8 -0
lines
sync with head
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Apr 23 07:36:02 2011 UTC (13 years, 7 months ago) by hannken
Branches: 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-5-RELEASE,
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-6-RELEASE,
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,
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
Branch point for: yamt-pagecache,
tls-maxphys
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +10 -2
lines
Try to keep snapshot indirect blocks contiguous.
This speeds up snapshot creation by a factor of ~3 and reduces
the file system suspension time by a factor of ~5.
Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:20 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4
lines
sync with head
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:08:38 2011 UTC (13 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4
lines
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.
See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Thu Jan 20 14:25:02 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +4 -4
lines
Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
as parameter a path to a mount point, and a prop_dictionary
(in plistref format) describing commands and arguments.
For each command, status and data are returned as a prop_dictionary.
quota commands features will be added to take advantage of this,
exporting quota data or getting quota commands as plists.
- new on disk-format storage (all 64bit wide), integrated to metadata for
ffs (and playing nicely with wapbl).
Quotas are enabled on a ffs filesystem via superblock flags.
tunefs(8) can enable or disable quotas.
On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
block and inode usages, and will check and update quotas in Pass 6.
quota usage and limits are stored in unliked files (one for users,
one for groups)l fsck_ffs(8) will create the files if needed, or
free them if needed. This means that after enabling or disabling
quotas on a filesystem; a fsck_ffs(8) run is required.
quotacheck(8) is not needed any more, on a unclean shutdown
fsck or journal replay will take care of fixing quotas.
newfs(8) can create a ready-to-mount quota-enabled filesystem
(superblock flags are set and quota inodes are created).
Other new features or semantic changes:
- default quota datas, applied to users or groups which don't already
have a quota entry
- per-user/group grace time (instead of a filesystem global one)
- 0 really means "nothing allowed at all", not "no limit".
If you want "no limit", set the limit to UQUAD_MAX (tools will
understand "unlimited" and "-")
A quota file is structured as follow:
it starts with a header, containing a few per-filesystem values,
and the default quota limits.
Quota entries are linked together as a simple list, each entry has a
pointer (as an offset withing the file) to the next.
The header has a pointer to a list of free quota entries, and
a hash table of in-use entries. The size of the hash table depends
on the filesystem block size (header+hash table should fit in the
first block). The file is not sparse and is a multiple of
filesystem block size (when the free quota entry list is empty a new
filesystem block is allocated). quota entries to not cross
filesystem block boundaries.
In memory, the kernel keeps a cache of recently used quota entries
as a reference to the block number, and offset withing the block.
The quota entry itself is keept in the buf cache.
fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).
Todo: enforce quotas limits (limits are not checked by kernel yet)
update repquota, edquota and rpc.rquotad to the new world
implement compat_50_quotactl ioctl.
update quotactl(2) man page
fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.
Revision 1.51.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:23:06 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +29 -147
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.48.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:37 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +183 -252
lines
sync with head.
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:34:39 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +29 -147
lines
Sync with HEAD.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Feb 22 20:28:06 2009 UTC (15 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base
Branch point for: rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +29 -147
lines
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.50.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:18:10 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +43 -35
lines
Sync with HEAD.
Revision 1.48.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:41:05 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48.6.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.2: +41 -33
lines
Sync with HEAD.
Revision 1.48.12.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:05 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.48.12.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.12.1: +43 -35
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Jul 31 05:38:06 2008 UTC (16 years, 4 months ago) by simonb
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
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,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5,
jym-xensuspend
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +43 -35
lines
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.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 28 12:40:06 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +43 -35
lines
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.48.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:32:05 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +113 -72
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:37 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.6.1: +22 -35
lines
Sync with HEAD.
Also fix build.
Revision 1.48.8.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:53 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.48.8.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.8.1: +24 -37
lines
sync with head
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jun 3 09:47:49 2008 UTC (16 years, 6 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: simonb-wapbl,
haad-dm
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +24 -37
lines
ufs/ffs: replace calls to getblk() with ffs_getblk(). Now all buffers
have been run through copy-on-write and async mounts work again.
Fixes PR kern/38820
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:35 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +108 -54
lines
Sync with HEAD.
Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:54 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +108 -54
lines
sync with head.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri May 16 09:22:00 2008 UTC (16 years, 6 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pf42-base2,
hpcarm-cleanup-nbase
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +108 -54
lines
Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller
intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
may clear the buffer and runs copy-on-write. Process possible errors
from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:28 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +8 -6
lines
Sync with HEAD.
Revision 1.37.10.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:48:06 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.37.10.4: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.10.4: +39 -6
lines
sync with head
Revision 1.45.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:25 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.45.8.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.8.1: +39 -6
lines
sync with HEAD
Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:16 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +8 -6
lines
Sync with HEAD
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:49:09 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
mjf-devfs2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -6
lines
Merge vmlocking2 to head.
Revision 1.45.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:52 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.45.6.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.6.1: +33 -2
lines
Sync with HEAD.
Revision 1.44.10.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:04:12 2007 UTC (17 years ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +33 -2
lines
Pullup to HEAD
Revision 1.46.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:58:08 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.46.6.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.6.1: +2 -2
lines
Sync with head.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:21:19 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +33 -2
lines
Add some comments.
Revision 1.46.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:44 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +39 -6
lines
Pull the vmlocking changes into a new branch.
Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:35:10 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +49 -38
lines
sync with HEAD
Revision 1.37.10.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:41 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.37.10.3: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.10.3: +49 -38
lines
sync with head.
Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:49:29 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +49 -38
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.44.6.6: download - view: text, markup, annotated - select for diffs
Wed Oct 24 15:06:23 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.44.6.5: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.6.5: +14 -6
lines
Comment out 'fix' for allocation failure with softdep. It would hang
because we can try to flush pages that we hold busy. Instead it now
crashes (matching what happens on HEAD).
Revision 1.45.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:49:15 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +49 -38
lines
sync with head.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Oct 8 18:01:28 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +49 -38
lines
Merge ffs locking & brelse changes from the vmlocking branch.
Revision 1.44.6.5: download - view: text, markup, annotated - select for diffs
Sun Sep 16 19:02:45 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.44.6.4: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.4: +25 -2
lines
- Checkpoint work in progress on the vnode lifecycle and reference counting
stuff. This makes it work properly without kernel_lock and fixes a few
quite old bugs. See vfs_subr.c 1.283.2.17 for details.
- Fix some problems with softdep. Unfortunately our softdep code appears
to have some longstanding bugs that cause it fail under stress test.
Revision 1.37.10.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:46:47 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.37.10.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.10.2: +2 -4
lines
sync with head.
Revision 1.44.6.4: download - view: text, markup, annotated - select for diffs
Fri Aug 24 23:28:43 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.44.6.3: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.3: +12 -12
lines
Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details.
Some minor portions are incomplete and needs to be verified as a whole.
Revision 1.44.6.3: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:28:14 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.44.6.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.2: +2 -4
lines
Sync with head.
Revision 1.44.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:41 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +2 -4
lines
Sync with head.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Jun 29 15:34:59 2007 UTC (17 years, 5 months ago) by pooka
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
matt-armv6,
jmcneill-pm
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -4
lines
remove redundant KASSERTs
Revision 1.44.6.2: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:42 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.44.6.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.1: +34 -36
lines
- Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 13 15:47:03 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +19 -4
lines
Put a per-mount lock around ffs shared data structures, excluding softdep
and quotas. Strategy lifted from FreeBSD.
Revision 1.37.10.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:18 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.37.10.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.10.1: +2 -3
lines
sync with head.
Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:48 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +2 -3
lines
Sync with head.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Jan 29 01:52:46 2007 UTC (17 years, 10 months ago) by hubertf
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
yamt-idlelwp,
thorpej-atomic-base,
thorpej-atomic,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -3
lines
Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>
Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 03:00:00 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +11 -8
lines
sync with head
Revision 1.37.10.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:31 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +27 -53
lines
sync with head.
Revision 1.40.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:39:28 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.40.6.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.6.1: +8 -7
lines
Sync with head.
Revision 1.40.12.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:47 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.40.12.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.12.1: +9 -8
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.40.8.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:25 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.40.8.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.8.1: +9 -8
lines
sync with head.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun May 14 21:32:45 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -7
lines
integrate kauth.
Revision 1.40.10.3: download - view: text, markup, annotated - select for diffs
Sat May 6 23:32:33 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.40.10.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.10.2: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:23 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -3
lines
Sync with head.
Revision 1.40.10.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:54:09 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.40.10.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.10.1: +5 -3
lines
sync with head.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Apr 15 05:29:10 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Coverity CID 2858: Avoid NULL deref.
Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:51 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -2
lines
sync with head.
Revision 1.40.12.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:29 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -2
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Mar 23 11:16:47 2006 UTC (18 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -2
lines
ffs_balloc*(): Add an assertion for "bpp != NULL" if B_METAONLY is set.
From Coverity CIDs 1170..1173
Revision 1.40.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:39:12 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -7
lines
Adapt to kernel authorization KPI.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:25 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
merge ktrace-lwp.
Revision 1.33.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:31 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33.2.5: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.5: +23 -52
lines
Sync with HEAD. Here we go again...
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Nov 2 12:39:00 2005 UTC (19 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +23 -49
lines
merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF
VOP_VALLOC
VOP_BALLOC
VOP_REALLOCBLKS
VOP_VFREE
VOP_TRUNCATE
VOP_UPDATE
Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 29 17:21:11 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-vop
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.1: +6 -6
lines
use ffs_* directly rather than via ufs_ops.
suggested by Chuck Silvers.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 20 03:00:30 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-vop
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +23 -49
lines
adapt ufs.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jul 15 05:01:16 2005 UTC (19 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -8
lines
Use ANSI function decls.
Revision 1.33.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:33:18 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33.2.4: preferred, colored
Changes since revision 1.33.2.4: +5 -6
lines
Sync with HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 15 07:11:51 2004 UTC (20 years ago) by mycroft
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -6
lines
Remove some unnecessary (int32_t) casts that would cause us to screw up the
top bit in block addresses.
Also, change some daddr_t->int32_t casts (mostly as arguments to ufs_rw32(),
where they would get promoted anyway) to u_int32_t.
Revision 1.33.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:39:08 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33.2.3: preferred, colored
Changes since revision 1.33.2.3: +2 -2
lines
Fix the sync with head I botched.
Revision 1.33.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:52 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33.2.2: preferred, colored
Changes since revision 1.33.2.2: +2 -2
lines
Sync with HEAD.
Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:59:14 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33.2.1: preferred, colored
Changes since revision 1.33.2.1: +12 -10
lines
Sync with HEAD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Aug 14 01:30:56 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -10
lines
In the indirect block unwind case, we only need to do the synchronous writes
of the inode in the softdep case. XXX This is really a deficiency in softdep.
Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:49 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +15 -9
lines
Sync with HEAD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue May 25 14:54:59 2004 UTC (20 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +14 -4
lines
Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
Snapshots may not be opened for writing and the attributes are read-only.
Use the mtime as the time this snapshot was taken.
Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
a vnode.
- Add snapshot support to ls, fsck_ffs and dump.
Welcome to 2.0F.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:34:29 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:39:36 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +613 -38
lines
Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.
This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Mar 15 01:10:18 2003 UTC (21 years, 9 months ago) by kristerw
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -47
lines
ffs_gop_alloc() is not used any more. Remove it.
OK:ed by Konrad Schroder.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Jan 24 21:55:21 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +23 -15
lines
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
Revision 1.24.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:52:07 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.24.4.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.4.2: +3 -3
lines
catch up with -current on kqueue branch
Revision 1.29.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 15:53:06 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3
lines
catch up with -current.
Revision 1.23.2.7: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:50:23 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.23.2.6: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.6: +3 -3
lines
Catch up to -current.
Revision 1.29.10.1: download - view: text, markup, annotated - select for diffs
Wed Jun 5 09:32:06 2002 UTC (22 years, 6 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3
lines
Pull up revision 1.30 (requested by chuq in ticket #171):
get the units right when computing a blkno in the ENOSPC path
for allocations involving indirect blocks.
spotted by Trevin Beattie <trevin@xmission.com>.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jun 5 05:23:51 2002 UTC (22 years, 6 months ago) by chs
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
fvdl_fs64_base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
get the units right when computing a blkno in the ENOSPC path
for allocations involving indirect blocks.
spotted by Trevin Beattie <trevin@xmission.com>.
Revision 1.24.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:05:00 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.24.4.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.1: +80 -48
lines
Sync kqueue branch with -current.
Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:18:55 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23.2.5: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.5: +69 -53
lines
Catch up to -current.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:44 2001 UTC (23 years, 1 month ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +69 -52
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Nov 8 05:27:25 2001 UTC (23 years, 1 month ago) by chs
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
newlock-base,
newlock,
netbsd-1-6-base,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +67 -53
lines
the previous fix (in rev. 1.26) for hangs when the filesystem is full
was wrong, so fix it right this time. undo the previous change and
instead, replace the troublesome VOP_FSYNC()s with code that just flushes
the particular indirect blocks that we allocated. this resolves the
softdeps for those blocks. then we can change the pointer for
the first indirect block we allocated to zero, write that, and finally
invalidate all the indirect blocks we've touched. also, wait until
after we finish all this before freeing any blocks we allocated.
fixes PRs 14413 and 14423.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Oct 30 01:11:53 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1
lines
add __KERNEL_RCSID()
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:51 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +31 -2
lines
Catch up to -current.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:21 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +38 -23
lines
Catch up with -current.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Sep 30 02:54:42 2001 UTC (23 years, 2 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +31 -2
lines
in ffs_balloc(), clean up page cache state to avoid hangs when we
get ENOSPC. as a result of this, we now skip some of the normal cleanup
in ufs_balloc_range() in the error case.
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:37:04 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +8 -22
lines
Catch up to -current.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Sep 15 20:36:42 2001 UTC (23 years, 3 months ago) by chs
Branches: MAIN
CVS tags: post-chs-ubcperf
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -22
lines
a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is
required now, since I've removed the globals that expose the address range.
pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
no longer any need to special-case it.
- eliminate struct uvm_vnode by moving its fields into struct vnode.
- rewrite the pageout path. the pager is now responsible for handling the
high-level requests instead of only getting control after a bunch of work
has already been done on its behalf. this will allow us to UBCify LFS,
which needs tighter control over its pages than other filesystems do.
writing a page to disk no longer requires making it read-only, which
allows us to write wired pages without causing all kinds of havoc.
- use a new PG_PAGEOUT flag to indicate that a page should be freed
on behalf of the pagedaemon when it's unlocked. this flag is very similar
to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
pageout fails due to eg. an indirect-block buffer being locked.
this allows us to remove the "version" field from struct vm_page,
and together with shrinking "loan_count" from 32 bits to 16,
struct vm_page is now 4 bytes smaller.
- no longer use PG_RELEASED for swap-backed pages. if the page is busy
because it's being paged out, we can't release the swap slot to be
reallocated until that write is complete, but unlike with vnodes we
don't keep a count of in-progress writes so there's no good way to
know when the write is done. instead, when we need to free a busy
swap-backed page, just sleep until we can get it busy ourselves.
- implement a fast-path for extending writes which allows us to avoid
zeroing new pages. this substantially reduces cpu usage.
- encapsulate the data used by the genfs code in a struct genfs_node,
which must be the first element of the filesystem-specific vnode data
for filesystems which use genfs_{get,put}pages().
- eliminate many of the UVM pagerops, since they aren't needed anymore
now that the pager "put" operation is a higher-level operation.
- enhance the genfs code to allow NFS to use the genfs_{get,put}pages
instead of a modified copy.
- clean up struct vnode by removing all the fields that used to be used by
the vfs_cluster.c code (which we don't use anymore with UBC).
- remove kmem_object and mb_object since they were useless.
instead of allocating pages to these objects, we now just allocate
pages with no object. such pages are mapped in the kernel until they
are freed, so we can use the mapping to find the page to free it.
this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:17:16 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
Merge Aug 24 -current into the kqueue branch.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:13:16 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +2 -2
lines
Catch up with -current.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Aug 8 08:36:36 2001 UTC (23 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
get argument name correct in comment describing vop_balloc_args
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:10:05 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +2 -2
lines
Catch up to -current.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed May 30 11:57:18 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: perseant-lfsv2-base,
perseant-lfsv2
Branch point for: kqueue
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
use _KERNEL_OPT
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:50:05 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -3
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 14 23:36:34 2000 UTC (24 years ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -3
lines
Pull up revision 1.22 (requested by fvdl):
Improve NFS performance, possibly with as much as 100% in
throughput. Please note: this implies a kernel interface change,
VOP_FSYNC gains two arguments.
Revision 1.14.8.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:20:11 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14.8.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.8.1: +169 -52
lines
Sync with HEAD.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Nov 27 08:39:54 2000 UTC (24 years ago) by chs
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +169 -52
lines
Initial integration of the Unified Buffer Cache project.
Revision 1.14.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:44 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +126 -52
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Sep 19 22:04:08 2000 UTC (24 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
Adapt for VOP_FSYNC parameter change.
Implement range fsync for FFS. Note: not yet implemented for the
SOFTDEP case.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jun 28 14:16:40 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -5
lines
remove include of <vm/vm.h> and <uvm/uvm_extern.h>
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:10:33 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +38 -29
lines
Sync w/ netbsd-1-5-base.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 29 16:28:27 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
MNT_WAIT -> FSYNC_WAIT
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun May 28 08:31:41 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -8
lines
DTRT when unwinding multiple levels.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun May 28 08:15:40 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +31 -24
lines
When unwinding a failed allocation, make sure to nuke the unwound block from
the vnode's block list. This fixes `itrunc3' panics (at least in some cases;
further testing is needed) and prevents further lossage later on.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Feb 25 19:58:25 2000 UTC (24 years, 9 months ago) by fvdl
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +22 -2
lines
Fix a bug introduced in Lite2 with block allocation and full disk
conditions. Reported by Ian Dowse <iedowse@maths.tcd.ie>, based
on patch in FreeBSD reviewed by Kirk McKusick.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Feb 14 22:00:22 2000 UTC (24 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -1
lines
Fixes to the softdep code from Ethan Solomita <ethan@geocast.com>.
* Fix buffer ordering when it has dependencies.
* Alleviate memory problems.
* Deal with some recursive vnode locks (sigh).
* Fix other bugs.
Revision 1.14.14.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:37 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.14.14.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.14.1: +80 -40
lines
Pull up to last week's -current.
Revision 1.14.14.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 23:20:07 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Nov 15 18:49:13 1999 UTC (25 years, 1 month ago) by fvdl
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
chs-ubc2-newbase
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +80 -40
lines
Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.
Bump version number to 1.4O
Revision 1.14.10.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 12:50:33 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +80 -40
lines
Bring in Kirk McKusick's FFS softdep code on a branch.
Revision 1.14.4.6: download - view: text, markup, annotated - select for diffs
Fri Aug 6 12:50:04 1999 UTC (25 years, 4 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.14.4.5: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.4.5: +4 -2
lines
avoid setting u_size lower in ffs_balloc(), otherwise we'll end up
PG_RELEASEing pages we have busy in ufs_balloc_range().
Revision 1.14.4.5: download - view: text, markup, annotated - select for diffs
Sat Jul 31 18:47:38 1999 UTC (25 years, 4 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.14.4.4: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.4: +52 -12
lines
adapt to new VOP_BALLOC() interface.
Revision 1.14.4.4: download - view: text, markup, annotated - select for diffs
Sun Jul 11 06:03:41 1999 UTC (25 years, 5 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.14.4.3: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.3: +1 -13
lines
no need to call uvm_vnp_zerorange() in ffs_balloc() anymore,
it's handled differently now.
Revision 1.14.4.3: download - view: text, markup, annotated - select for diffs
Tue Jul 6 14:52:08 1999 UTC (25 years, 5 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.14.4.2: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.2: +2 -2
lines
avoid creating pages beyond EOF.
Revision 1.14.4.2: download - view: text, markup, annotated - select for diffs
Sun Jul 4 01:50:25 1999 UTC (25 years, 5 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.14.4.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.1: +38 -81
lines
convert ffs_balloc() to a VOP interface.
rename ffs_balloc_range() to ufs_balloc_range() in ufs_inode.c.
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 7 04:25:34 1999 UTC (25 years, 6 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +188 -50
lines
merge everything from chs-ubc branch.
Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Sun May 30 15:01:26 1999 UTC (25 years, 6 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.4: +24 -36
lines
in ffs_balloc(), remove the "alloced" flag I added. with the demise
of the vm_page blkno field this is no longer useful.
also be sure to return the blkno in all cases.
in ffs_balloc_range(), uvm_vnp_setpageblknos() is gone.
Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Thu Apr 29 05:32:46 1999 UTC (25 years, 7 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +20 -15
lines
catch another case in ffs_balloc() where we need to set the aux return info.
adjust the file size in ffs_balloc_range() instead of ffs_write(),
the allocator routines need to have current info.
Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 9 04:35:33 1999 UTC (25 years, 8 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +11 -3
lines
undo combining of two cases that were actually different.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:30 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep,
chs-ubc2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -8
lines
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Thu Feb 25 04:01:57 1999 UTC (25 years, 9 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +81 -7
lines
add some args to ffs_balloc() to allow it to return the
physical blkno of the requested block and whether or not
the block was allocated by the current call.
move ffs_mballoc() here from ufs_readwrite.c and rename it
to ffs_balloc_range().
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 9 06:06:35 1998 UTC (26 years, 1 month ago) by chs
Branches: chs-ubc
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +110 -47
lines
initial snapshot. lots left to do.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Oct 27 21:32:58 1998 UTC (26 years, 1 month ago) by mycroft
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
Do not corrupt file flags when file system is full!
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jun 13 16:26:22 1998 UTC (26 years, 6 months ago) by kleink
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -7
lines
KNF, mostly of FFS_EI changes.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jun 9 07:46:32 1998 UTC (26 years, 6 months ago) by scottr
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1
lines
Protect various config(8)-generated files from inclusion while
building LKMs. Fixes PR 5557.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jun 8 04:27:50 1998 UTC (26 years, 6 months ago) by scottr
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1
lines
Use the newly-defined opt_quota.h.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 18 15:57:27 1998 UTC (26 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +18 -11
lines
Add support for reading/writing FFS in non-native byte order, conditioned
to "options FFS_EI". The superblock and inodes (without blk addr) are
byteswapped at disk read/write time, other metadatas are byteswapped
when used (as they are acceeded directly in the buffer cache).
This required the addition of a "um_flags" field to struct ufsmount.
ffs_bswap.c contains superblock and inode byteswap routines also used
by userland utilities.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:23:14 1998 UTC (26 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +66 -40
lines
Merge with Lite2 + local changes
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:14:05 1998 UTC (26 years, 9 months ago) by fvdl
Branches: netbsd,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +63 -38
lines
Import 4.4BSD-Lite2
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:10:44 1998 UTC (26 years, 9 months ago) by fvdl
Branches: netbsd,
CSRG
CVS tags: lite-1,
date-03-may-96
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -2
lines
Import 4.4BSD-Lite for reference
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:10:53 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1
lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Feb 5 08:00:33 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -1
lines
initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jul 4 20:22:15 1997 UTC (27 years, 5 months ago) by drochner
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 11 10:09:41 1997 UTC (27 years, 6 months ago) by bouyer
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +15 -15
lines
Add support for ext2fs, this needed a few modifications to ufs/ufs/inode.h:
- added an "union inode_ext" to struct inode, for the per-fs extentions.
For now only ext2fs uses it.
- i_din is now an union:
union {
struct dinode ffs_din; /* 128 bytes of the on-disk dinode. */
struct ext2fs_dinode e2fs_din; /* 128 bytes of the on-disk dinode. */
} i_din
Added a lot of #define i_ffs_* and i_e2fs_* to access the fields.
- Added two macros: FFS_ITIMES and EXT2FS_ITIMES. ITIMES calls the rigth
macro, depending on the time of the inode. ITIMES is used where necessary,
FFS_ITIMES and EXT2FS_ITIMES in other places.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:22:21 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot,
netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -10
lines
ffs prototypes
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:46:29 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1,
netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:42:00 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Update to 4.4-Lite fs code, with local changes.
CVSweb <webmaster@jp.NetBSD.org>