Up to [cvs.NetBSD.org] / src / sys / fs / msdosfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.86 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:37 2013 UTC (2 months ago) by plunky
Branch: MAIN
CVS Tags: khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.85: +3 -3
lines
Diff to previous 1.85 (colored)
C99 section 6.7.2.3 (Tags) Note 3 states that: A type specifier of the form enum identifier without an enumerator list shall only appear after the type it specifies is complete. which means that we cannot pass an "enum vtype" argument to kauth_access_action() without fully specifying the type first. Unfortunately there is a complicated include file loop which makes that difficult, so convert this minimal function into a macro (and capitalize it). (ok elad@)
Revision 1.85 / (download) - annotate - [select for diffs], Fri Dec 28 08:03:59 2012 UTC (4 months, 3 weeks ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
tls-maxphys-nbase,
tls-maxphys-base
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Move the initialization of n to after the error branch. From Taylor R Campbell <riastradh@netbsd.org>
Revision 1.84 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (5 months ago) by hannken
Branch: MAIN
Changes since 1.83: +2 -5
lines
Diff to previous 1.83 (colored)
Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error. Welcome to 6.99.16 PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
Revision 1.83 / (download) - annotate - [select for diffs], Sun Apr 29 22:53:59 2012 UTC (12 months, 3 weeks ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.82: +5 -4
lines
Diff to previous 1.82 (colored)
change vflushbuf() to take the full FSYNC_* flags. translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that genfs_do_io() can set the appropriate io priority for the I/O. this is the first part of addressing PR 46325.
Revision 1.82 / (download) - annotate - [select for diffs], Tue Apr 3 14:58:55 2012 UTC (13 months, 3 weeks ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8
Changes since 1.81: +4 -3
lines
Diff to previous 1.81 (colored)
Add missing braces in previous commit.
Revision 1.81 / (download) - annotate - [select for diffs], Mon Apr 2 07:30:22 2012 UTC (13 months, 3 weeks ago) by njoly
Branch: MAIN
Changes since 1.80: +3 -2
lines
Diff to previous 1.80 (colored)
Report the SF_ARCHIVED file flag if set.
Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:38 2012 UTC (14 months, 1 week ago) by elad
Branch: MAIN
Changes since 1.79: +16 -13
lines
Diff to previous 1.79 (colored)
Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
Revision 1.79 / (download) - annotate - [select for diffs], Mon Nov 21 10:46:56 2011 UTC (18 months ago) by hannken
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base
Branch point for: netbsd-6,
jmcneill-usbmp
Changes since 1.78: +5 -3
lines
Diff to previous 1.78 (colored)
Add missing fstrans_done(). Should fix PR #45635 (KASSERT "fli->fli_trans_cnt == 0" failed)
Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 20 11:52:00 2011 UTC (22 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.77: +3 -3
lines
Diff to previous 1.77 (colored)
Even though msdosfs never truncates file names it advertises _PC_NO_TRUNC
as zero. Make it advertise one (no_trunc == true).
Names longer than NAME_MAX (255) will never pass namei() btw.
Fixes PR #43670 (msdosfs claims support for filenames longer than {NAME_MAX},
but fails)
Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 16 09:21:02 2011 UTC (23 months, 1 week ago) by hannken
Branch: MAIN
Changes since 1.76: +4 -3
lines
Diff to previous 1.76 (colored)
Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing the first argument to an uvm_object and adding a flags argument. Modify tmpfs_reg_resize() to zero the backing store (aobj) instead of the vnode. Ubc_purge() no longer panics when unmounting tmpfs. Keep uvm_vnp_zerorange() until the next kernel version bump.
Revision 1.76 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:53 2011 UTC (23 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.75: +6 -6
lines
Diff to previous 1.75 (colored)
Welcome to 5.99.53! Merge rmind-uvmplock branch: - Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock. - Simplify locking in some pmap(9) modules by removing P->V locking. - Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs). - Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns. - Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues. Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
Revision 1.75 / (download) - annotate - [select for diffs], Tue Apr 26 11:32:38 2011 UTC (2 years ago) by hannken
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.74: +4 -6
lines
Diff to previous 1.74 (colored)
Change vflushbuf() to return an error if a synchronous write fails. Welcome to 5.99.51.
Revision 1.74 / (download) - annotate - [select for diffs], Sun Mar 20 12:21:28 2011 UTC (2 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.73: +7 -2
lines
Diff to previous 1.73 (colored)
When extending a file, either by truncating or by writing past EOF make sure the unallocated remainder of the last page gets zeroed. Detected by fsx.
Revision 1.73 / (download) - annotate - [select for diffs], Sat Mar 19 20:05:21 2011 UTC (2 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.72: +4 -5
lines
Diff to previous 1.72 (colored)
Remove a vnode reference leak from msdosfs_rename. Release tdvp if either doscheckpath() or relookup() fails. Adjust test fs/vfs/t_vnops.c and remove the link count test for msdos. Fixes PR #44661
Revision 1.72 / (download) - annotate - [select for diffs], Thu Mar 3 08:10:45 2011 UTC (2 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.71: +3 -3
lines
Diff to previous 1.71 (colored)
In rename, use char[12] æor new names instead of [11]. At least one routine called from here (unix2dosfn) expects and uses all of a [12]. This may fix the "stack size exceeded" problem which has been triggering in gson's test runs. (i'm not entirely sure why it doesn't trigger in anyone else's env)
Revision 1.71 / (download) - annotate - [select for diffs], Sun Jan 2 05:09:30 2011 UTC (2 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.70: +10 -28
lines
Diff to previous 1.70 (colored)
Remove the special refcount behavior (adding an extra reference to the parent dir) associated with SAVESTART in relookup(). Check all call sites to make sure that SAVESTART wasn't set while calling relookup(); if it was, adjust the refcount behavior. Remove related references to SAVESTART. The only code that was reaching the extra ref was msdosfs_rename, where the refcount behavior was already fairly broken and/or gross; repair it. Add a dummy 4th argument to relookup to make sure code that hasn't been inspected won't compile. (This will go away next time the relookup semantics change, which they will.)
Revision 1.70 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:03 2010 UTC (2 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.69: +2 -15
lines
Diff to previous 1.69 (colored)
Abolish the SAVENAME and HASBUF flags. There is now always a buffer, so the path in a struct componentname is now always valid during VOP calls.
Revision 1.69 / (download) - annotate - [select for diffs], Tue Nov 30 10:29:59 2010 UTC (2 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.68: +3 -11
lines
Diff to previous 1.68 (colored)
Abolish struct componentname's cn_pnbuf. Use the path buffer in the pathbuf object passed to namei as work space instead. (For now a pnbuf pointer appears in struct nameidata, to support certain unclean things that haven't been fixed yet, but it will be going away in the future.) This removes the need for the SAVENAME and HASBUF namei flags.
Revision 1.68 / (download) - annotate - [select for diffs], Thu Jul 22 18:08:11 2010 UTC (2 years, 10 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2
Changes since 1.67: +3 -3
lines
Diff to previous 1.67 (colored)
Remove bad cast, fix compilation with MSDOSFS_DEBUG.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:09 2010 UTC (2 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.66: +15 -15
lines
Diff to previous 1.66 (colored)
Clean up vnode lock operations pass 2: VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument. Welcome to 5.99.32. Discussed on tech-kern.
Revision 1.66 / (download) - annotate - [select for diffs], Tue May 25 10:15:34 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.65: +2 -3
lines
Diff to previous 1.65 (colored)
Don't double unlock fvp if source file disappears during rename. Problem found by njoly's awesome stresstester.
Revision 1.65 / (download) - annotate - [select for diffs], Fri Apr 23 15:38:46 2010 UTC (3 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.64: +2 -14
lines
Diff to previous 1.64 (colored)
Enforce RLIMIT_FSIZE before VOP_WRITE. This adds support to file system drivers where it was missing from and fixes one buggy implementation. The arguably weird semantics of the check are maintained (v_size vs. va_bytes, overwrite).
Revision 1.64 / (download) - annotate - [select for diffs], Fri Apr 9 08:09:18 2010 UTC (3 years, 1 month ago) by hannken
Branch: MAIN
Changes since 1.63: +71 -23
lines
Diff to previous 1.63 (colored)
Add file system suspension support (vfs_suspend(9)) to msdosfs. Reviewed by: Antti Kantee <pooka@netbsd.org>
Revision 1.63 / (download) - annotate - [select for diffs], Thu Apr 8 16:04:35 2010 UTC (3 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.62: +5 -58
lines
Diff to previous 1.62 (colored)
In genfs where available. The only functional change is mknod now returning EOPNOTSUPP instead of EINVAL. I make this sacrifice willingly and with a clean conscience.
Revision 1.62 / (download) - annotate - [select for diffs], Thu Apr 8 15:03:33 2010 UTC (3 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.61: +4 -35
lines
Diff to previous 1.61 (colored)
Use genfs instead of homegrown stuff where possible.
Revision 1.61 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:40 2009 UTC (3 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
uebayasi-xip-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.60: +41 -18
lines
Diff to previous 1.60 (colored)
Where possible, extract the file-system's access() routine to two internal functions: the first checking if the operation is possible (regardless of permissions), the second checking file-system permissions, ACLs, etc. Mailing list reference: http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html
Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:39 2009 UTC (3 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
Move the implementation of vaccess() to genfs_can_access(), in line with the other routines of the same spirit. Adjust file-system code to use it. Keep vaccess() for KPI compatibility and to keep element of least surprise. A "diagnostic" message warning that vaccess() is deprecated will be printed when it's used (obviously, only in DIAGNOSTIC kernels). No objections on tech-kern@: http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html
Revision 1.59 / (download) - annotate - [select for diffs], Thu May 7 19:30:31 2009 UTC (4 years ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jym-xensuspend-base
Changes since 1.58: +5 -7
lines
Diff to previous 1.58 (colored)
Extract the open-coded authorization logic for chtimes() from various file-systems and put it in a single function, genfs_can_chtimes(). This also makes UDF follow the same policy as all other file-systems. Mailing list reference: http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004951.html
Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:23 2009 UTC (4 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.57: +23 -44
lines
Diff to previous 1.57 (colored)
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Jan 11 10:25:29 2009 UTC (4 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.56: +4 -4
lines
Diff to previous 1.56 (colored)
make this compile
Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:51 2009 UTC (4 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.55: +4 -3
lines
Diff to previous 1.55 (colored)
merge christos-time_t
Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 28 10:57:03 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
christos-time_t-nbase,
christos-time_t-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored)
Tyop: v -> vp. Spotted by Tom's ARM builds.
Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.53: +8 -16
lines
Diff to previous 1.53 (colored)
Rototill all remaining file systems to use ubc_uiomove() instead of the ubc_alloc() - uiomove() - ubc_release() dance.
Revision 1.53 / (download) - annotate - [select for diffs], Fri Nov 14 12:59:44 2008 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.52: +3 -4
lines
Diff to previous 1.52 (colored)
In case writing past EOF, fail if extending the file fails (most likely due to the file system being full). Otherwise we'd fail in VOP_PUTPAGES(), which might not happen during VOP_WRITE(), thus giving the caller the wrong impression that writing was succesful.
Revision 1.52 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (5 years ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-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,
netbsd-5,
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,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm,
christos-time_t
Changes since 1.51: +8 -6
lines
Diff to previous 1.51 (colored)
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.51 / (download) - annotate - [select for diffs], Wed Apr 30 14:07:14 2008 UTC (5 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored)
Make various bits of debug code compile again.
Revision 1.50 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:28 2008 UTC (5 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.49: +4 -4
lines
Diff to previous 1.49 (colored)
Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications: - Inspecting process state requires thread context, so signals can no longer be sent from a hardware interrupt handler. Signal activity must be deferred to a soft interrupt or kthread. - As the proc state locking is simplified, it's now safe to take exit() and wait() out from under kernel_lock. - The system spends less time at IPL_SCHED, and there is less lock activity.
Revision 1.49 / (download) - annotate - [select for diffs], Wed Jan 30 09:50:20 2008 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
mjf-devfs2
Changes since 1.48: +3 -5
lines
Diff to previous 1.48 (colored)
Replace struct lock on vnodes with a simpler lock object built on krwlock_t. This is a step towards removing lockmgr and simplifying vnode locking. Discussed on tech-kern.
Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:12 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.47: +2 -3
lines
Diff to previous 1.47 (colored)
Remove VOP_LEASE. Discussed on tech-kern.
Revision 1.47 / (download) - annotate - [select for diffs], Sat Jan 5 18:42:14 2008 UTC (5 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.46: +26 -8
lines
Diff to previous 1.46 (colored)
PR/37696: Paul Ripke: add large read / readahead support (Introduce run-length detection to msdosfs_bmap(), from FreeBSD)
Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:42 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.45: +6 -6
lines
Diff to previous 1.45 (colored)
Merge vmlocking2 to head.
Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 28 17:46:48 2007 UTC (5 years, 4 months ago) by reinoud
Branch: MAIN
Changes since 1.44: +7 -3
lines
Diff to previous 1.44 (colored)
Use uvm_vnp_setwritesize() on file extending to instruct UVM to NOT read-in the newly added space first. This significantly speeds up write speed for msdosfs and making it at par with ffs wich already had this patched. Speed increase measured on my IDE disc from 2Mb/sec to 32 Mb/sec
Revision 1.44 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:47 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Changes since 1.43: +8 -15
lines
Diff to previous 1.43 (colored)
Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used. quick consensus on tech-kern
Revision 1.43 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:29 2007 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Changes since 1.42: +44 -24
lines
Diff to previous 1.42 (colored)
Fix a problem noticed by Reinoud: the fs would try to release an unlocked vnode when trying to rename a directory. The fix was to shuffle some bits around and #pray. The rename routine actually needs a very very major wide-angle whopping: * it takes locks out-of-order * it deals with references from SAVESTART lookups in interesting ways * I doubt there is any guarantee for correct operation if there are multiple concurrent accesses * the error branches might just as well call panic() directly
Revision 1.42 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:04 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Changes since 1.41: +11 -11
lines
Diff to previous 1.41 (colored)
Merge brelse() changes from the vmlocking branch.
Revision 1.41 / (download) - annotate - [select for diffs], Mon Sep 24 00:42:13 2007 UTC (5 years, 8 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.40: +33 -33
lines
Diff to previous 1.40 (colored)
Avoid stack allocation of large dirent structures in foo_readdir().
Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 29 21:17:41 2007 UTC (5 years, 9 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base,
nick-csl-alignment-base5,
matt-mips64-base,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
matt-mips64,
matt-armv6,
jmcneill-pm
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate, rather than hard-coding 16.
Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 19 11:05:14 2007 UTC (6 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.38: +4 -2
lines
Diff to previous 1.38 (colored)
hold proclist_mutex when calling psignal().
Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:00 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.37: +5 -5
lines
Diff to previous 1.37 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:03 2007 UTC (6 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.36: +3 -3
lines
Diff to previous 1.36 (colored)
Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
Revision 1.36 / (download) - annotate - [select for diffs], Thu Jan 4 15:42:38 2007 UTC (6 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.35: +5 -5
lines
Diff to previous 1.35 (colored)
Consistent usage of KAUTH_GENERIC_ISSUSER.
Revision 1.35 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:51 2006 UTC (6 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3
Changes since 1.34: +10 -5
lines
Diff to previous 1.34 (colored)
a smorgasbord of improvements to vnode locking and path lookup: - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP(). these now always return the parent vnode locked. namei() works as before. lookup() and various other paths no longer acquire vnode locks in the wrong order via vrele(). fixes PR 32535. as a nice side effect, path lookup is also up to 25% faster. - the above allows us to get rid of PDIRUNLOCK. - also get rid of WANTPARENT (just use LOCKPARENT and unlock it). - remove an assumption in layer_node_find() that all file systems implement a recursive VOP_LOCK() (unionfs doesn't). - require that all file systems supply vfs_vptofh and vfs_fhtovp routines. fill in eopnotsupp() for file systems that don't support being exported and remove the checks for NULL. (layerfs calls these without checking.) - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just adjust which vnode is locked. fixes PR 33374. - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
Revision 1.34 / (download) - annotate - [select for diffs], Sat Nov 25 12:17:30 2006 UTC (6 years, 6 months ago) by scw
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.33: +22 -13
lines
Diff to previous 1.33 (colored)
Support FAT filesystems on non-DEV_BSIZE media. Based on the patches provided in PR kern/17398 by Trevin Beattie.
Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:35 2006 UTC (6 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.32: +4 -4
lines
Diff to previous 1.32 (colored)
__unused removal on arguments; approved by core.
Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:11 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.31: +4 -6
lines
Diff to previous 1.31 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 22 17:45:21 2006 UTC (6 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.30: +2 -4
lines
Diff to previous 1.30 (colored)
Apply patch from PR kern/34583 sent by Rhialto, quoting him: "Add a 3rd entry in the cache, which keeps the end position from just before extending a file. This has the desired effect of keeping the write speed constant." And yes, that helps a lot copying large files... always at full speed now. This closes my PR kern/30868 "Poor performance copying large files on msdosfs". Also remove a 2 if-statements testing the same condition, combine them. All that from Rhialto, thank you very much.
Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:10 2006 UTC (6 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base
Branch point for: yamt-splraiseipl,
newlock2,
abandoned-netbsd-4
Changes since 1.29: +7 -7
lines
Diff to previous 1.29 (colored)
Use the LWP cached credentials where sane.
Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:38 2006 UTC (6 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Changes since 1.28: +11 -6
lines
Diff to previous 1.28 (colored)
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
Revision 1.28 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (7 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.27: +25 -21
lines
Diff to previous 1.27 (colored)
integrate kauth.
Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 14 22:05:07 2006 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.26: +3 -3
lines
Diff to previous 1.26 (colored)
Coveriry CID 733: Remove dead code.
Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:13 2006 UTC (7 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Changes since 1.25: +4 -5
lines
Diff to previous 1.25 (colored)
merge yamt-uio_vmspace branch. - use vmspace rather than proc or lwp where appropriate. the latter is more natural to specify an address space. (and less likely to be abused for random purposes.) - fix a swdmover race.
Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 14 23:49:59 2006 UTC (7 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
Protect against uio_lwp being NULL from Pavel Cahyna
Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.23: +18 -18
lines
Diff to previous 1.23 (colored)
merge ktrace-lwp.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 29 22:52:02 2005 UTC (7 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.22: +7 -4
lines
Diff to previous 1.22 (colored)
merge yamt-readahead branch.
Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 4 21:04:20 2005 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.21: +7 -2
lines
Diff to previous 1.21 (colored)
PR/32003: Brian Buhrow: msdosfs doesn't properly zero out high cluster data on non-FAT32 msdos filesystems.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (7 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.20: +43 -31
lines
Diff to previous 1.20 (colored)
merge yamt-vop branch. remove following VOPs. VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
Revision 1.20 / (download) - annotate - [select for diffs], Mon Sep 12 16:24:41 2005 UTC (7 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.19: +39 -21
lines
Diff to previous 1.19 (colored)
Use nanotime() to update the time fields in filesystems. Convert the code from macros to real functions. Original patch and review from chuq. Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not have enough precision for all fields, so this is not very useful for those two.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 10 18:35:56 2005 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.18: +11 -11
lines
Diff to previous 1.18 (colored)
Make fileno calculations use ino_t variables.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 29 23:57:35 2005 UTC (7 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
Remove __P()
Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 29 23:22:05 2005 UTC (7 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.16: +6 -2
lines
Diff to previous 1.16 (colored)
The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so don't bother trying to write files bigger than this. Just return EFBIG to caller, rather than panic()ing later. From OpenBSD. This closes my PR kern/30864: "panic when copying files of >4GB on msdosfs"
Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 19 12:24:54 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.15: +5 -4
lines
Diff to previous 1.15 (colored)
fileid is now a quad.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:03 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.14: +4 -4
lines
Diff to previous 1.14 (colored)
64 bit inode changes.
Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:55 2005 UTC (8 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: yamt-lazymbuf,
netbsd-3
Changes since 1.13: +5 -5
lines
Diff to previous 1.13 (colored)
nuke trailing whitespace
Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 9 16:42:44 2005 UTC (8 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Changes since 1.12: +10 -9
lines
Diff to previous 1.12 (colored)
adjust the UBC mapping code to support non-vnode uvm_objects. this means we can no longer look at the vnode size to determine how many pages to request in a fault, which is good since for NFS the size can change out from under us on the server anyway. there's also a new flag UBC_UNMAP for ubc_release(), so that the file system code can make the decision about whether to cache mappings for files being used as executables.
Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 13 19:25:48 2004 UTC (8 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Changes since 1.11: +3 -4
lines
Diff to previous 1.11 (colored)
set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use the value for also pathconf(_PC_NAME_MAX) to keep the two in sync
Revision 1.11 / (download) - annotate - [select for diffs], Wed May 12 02:07:38 2004 UTC (9 years ago) by jrf
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
caddr_t -> void * and removal of some more casts.
Revision 1.10 / (download) - annotate - [select for diffs], Tue May 4 13:26:58 2004 UTC (9 years ago) by jrf
Branch: MAIN
Changes since 1.9: +4 -4
lines
Diff to previous 1.9 (colored)
Remove caddr_t inlines. Approved by christos@NetBSD.org.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 26 10:39:30 2004 UTC (9 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
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-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0,
netbsd-2
Changes since 1.8: +5 -4
lines
Diff to previous 1.8 (colored)
Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 25 18:06:48 2004 UTC (9 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.7: +3 -5
lines
Diff to previous 1.7 (colored)
Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern. VOP_STRATEGY(bp) is replaced by one of two new functions: - VOP_STRATEGY(vp, bp) Call the strategy routine of vp for bp. - DEV_STRATEGY(bp) Call the d_strategy routine of bp->b_dev for bp. DEV_STRATEGY(bp) is used only for block-to-block device situations.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 7 22:09:11 2003 UTC (9 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.6: +15 -12
lines
Diff to previous 1.6 (colored)
add -t option for gmt time offset (normally MS-DOS filesystem has timestamp in localtime, not GMT). PR kern/22717
Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 2 11:41:21 2003 UTC (9 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.5: +6 -4
lines
Diff to previous 1.5 (colored)
Allow separate masks for files and directories. Useful e.g. to turn the execute bit off for files, but keep search permission for directories. Change contributed in PR kern/21538 by Pavel Arnost, based on some FreeBSD patches. Further manpage changes, and backward-compatibility adjustments done by me. Also fixes PR kern/16778 by Johan Danielsson, and PR kern/3400 by Rick Byers
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:10 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +15 -15
lines
Diff to previous 1.4 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:50 2003 UTC (9 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.3: +17 -17
lines
Diff to previous 1.3 (colored)
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed. Bump the kernel rev up to 1.6V
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 26 05:26:46 2003 UTC (9 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.2: +6 -4
lines
Diff to previous 1.2 (colored)
strlcpy
Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 25 10:29:12 2003 UTC (10 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
make 'dosdirtemplate' static const
Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 26 12:31:35 2002 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Branch point for: nathanw_sa
move msdosfs code from sys/msdosfs to sys/fs/msdosfs