summaryrefslogtreecommitdiff
path: root/sys/isofs
AgeCommit message (Collapse)Author
2004-05-17typoBrad Smith
2004-05-14use pool for namei pathbuf. testing ok millert@ tdeval@Ted Unangst
2003-11-04a hook to use an lkm for unicode names decoding; from freebsdMichael Shalayeff
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-14constify vfsops; tedu@ okMichael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14Wrong check..Thierry Deval
2003-05-14strcpy + size checkThierry Deval
ok tedu@
2003-05-13Kill a bunch more commons (very few left =)Jason Wright
2003-05-07string fix; tedu okTheo de Raadt
2003-04-06Missed file in previous strncpy fixup for d_packname, d_typename fields.Kenneth R Westerback
As in that commit, ok millert@.
2003-01-31File system locking fixups, mostly from NetBSD:Artur Grabowski
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok
2003-01-05spellingTheo de Raadt
2002-11-08Implement simple vnodeop inheritance for specfs and fifofs.Artur Grabowski
The inheritace is implemented by setting the default vnodeop to a bypass op that repeats the operation on the spec/fifo vnodeop vector. The overhead of one extra indirect function call is worth the cleanup and improved correctness. This actually solves a few bugs where some vnode ops were missing from some vectors (like kqfilter or revoke). (and even more on the ubc branch). Inspired by the same thing done in FreeBSD.
2002-05-24splbio around biodone.Artur Grabowski
2002-05-23Since the days of architectures where page size is smaller thanArtur Grabowski
9660 block size are long gone and we can't use cluster_read on modern machines, improve the dumb read-ahead. Doesn't change much on macppc and sparc64, but gives a nice speed boost on i386 (noone knows why). espie can watch his DVDs again. espie@ ok (noone else complained)
2002-04-23In mount.h, rename field export -> export_info, to avoid collision with C++.Marc Espie
Synch files that use that field. (This argument is an internal interface specific to OpenBSD, so it won't cause compatibility problems.) (No bump, not an ABI change). ok art, millert...
2002-03-15Kill some #if __STDC__ used with 8bit function args; we live in an ANSI worldTodd C. Miller
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-10call inittodr() to avoid reseting the clock; problem reported in tech@.Federico G. Schwindt
millert@ ok.
2002-02-10spellingTheo de Raadt
2002-01-25multi-session support; from NetBSD. millert@ okFederico G. Schwindt
this only affects iso_mountfs(), not disklabel. code for it may be added later.
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
2001-12-10Since VOP_READ is never called on VDIR vnodes and ext2fs_readArtur Grabowski
is only in the vnodeops in VREG and VDIR vnodes, we can remove tons of code here.
2001-12-10Big cleanup inspired by NetBSD with some parts of the code from NetBSD.Artur Grabowski
- get rid of VOP_BALLOCN and VOP_SIZE - move the generic getpages and putpages into miscfs/genfs - create a genfs_node which must be added to the top of the private portion of each vnode for filsystems that want to use genfs_{get,put}pages - rename genfs_mmap to vop_generic_mmap
2001-12-10Merge in struct uvm_vnode into struct vnode.Artur Grabowski
2001-12-04Readd VOP_MMAP, will be used soon. Right now it's just a question toArtur Grabowski
the filesystem if we're allowed to mmap the file.
2001-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups.
2001-11-15uvm_vnp_setsizeArtur Grabowski
2001-11-03The contents of cd9660_mount.h duplicate <sys/mount.h>, so get rid of it.Miod Vallat
Agreed by fgs@ and millert@
2001-06-23Get rid of several unused vnode operationsConstantine Sapuntzakis
2001-02-24repair cluster structure damageTheo de Raadt
2001-02-23Remove the clustering fields from the vnodes and place them in theConstantine Sapuntzakis
file system inode instead
2001-02-20use void * consistently in vfs_mount and sys_mount. ok @artassar
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
2000-06-07Add cd9660_check_export() (from ufs_check_export() with trivial modifications).Todd C. Miller
Fixes the "NFS mounting of exported cd-rom causes panic" bug. Apparently when the checkexp vfs support was added cd9660 was left out.
2000-02-07update to use new checkexp vfs operationassar
1999-11-13FIBMAP ioctl from Linux, only usable on ISO 9660 FS. Note that the lbaAngelos D. Keromytis
returned is in 512-byte sectors, so if you're going to use it for things like DVD, you need to divide the result by 4 (for 2048-byte sectors). OK deraadt@
1999-08-17initialize an incorrectly uninitialized variableArtur Grabowski
1999-07-01Add support for Joliet extensions. From FreeBSDDavid Leonard
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1998-09-06If mount by non-root, then verify that user has necessary permissions onTodd C. Miller
the device. NetBSD (mycroft) made a similar change yesterday but there are vfs differences. Thanks to Hubert Feyrer for bringing this to our attention.
1998-08-21Fix malloc race in the cd9660 fs.Constantine Sapuntzakis
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
1998-07-22fix tz calculation; bug found by reesTheo de Raadt
1998-05-30define ISO_DEFAULT_BLOCK_SHIFT and redefine ISO_DEFAULT_BLOCK_SIZE through itMichael Shalayeff
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-12-02Fix deadlock in cd9660 code. NetBSD PR#2262Constantine Sapuntzakis