summaryrefslogtreecommitdiffstats
path: root/sys/isofs
Commit message (Collapse)AuthorAgeFilesLines
* Killed more FIFO ifdefs. All gone now.bde1997-02-132-7/+0
|
* Removed bogus B_AGE policy again (see rev 1.4).bde1997-02-131-5/+0
| | | | | Removed FIFO ifdef again (see rev.1.8). This also fixes vfs initialization since the VNODEOP_SET() was inside the ifdef.
* Declare function args in order in recently K&Rised function headers.bde1997-02-121-3/+6
|
* Restored one line of "High Sierra" changes from rev.1.8.bde1997-02-111-1/+2
| | | | | The Lite2 changes in cd9660 are scarey. I probably missed some other lossage in this file.
* Restored one line of "High Sierra" changes from rev.1.6 which wasbde1997-02-111-1/+1
| | | | | | | blown away by the previous commit. Not restored: trailing whitespace changes from rev.1.7. Not restored: -Wall cleanup from rev.1.5.
* Removed High Sierra task from TODO list. Joerg did it years ago andbde1997-02-111-6/+0
| | | | | other items were removed from the list when they were done in the Lite2 merge. The Lite2 merge just broke the High Sierra changes.
* This is the kernel Lite/2 commit. There are some requisite userlanddyson1997-02-1011-1153/+1095
| | | | | | | | | | | | | | | changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes. The system boots and can mount UFS filesystems. Untested: ext2fs, msdosfs, NFS Known problems: Incorrect Berkeley ID strings in some files. Mount_std mounts will not work until the getfsent library routine is changed. Reviewed by: various people Submitted by: Jeffery Hsu <hsu@freebsd.org>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1412-12/+12
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* This commit is the embodiment of some VFS read clustering improvements.dyson1996-12-291-2/+3
| | | | | | | | | | | | Firstly, now our read-ahead clustering is on a file descriptor basis and not on a per-vnode basis. This will allow multiple processes reading the same file to take advantage of read-ahead clustering. Secondly, there previously was a problem with large reads still using the ramp-up algorithm. Of course, that was bogus, and now we read the entire "chunk" off of the disk in one operation. The read-ahead clustering algorithm should use less CPU than the previous also (I hope :-)). NOTE: THAT LKMS MUST BE REBUILT!!!
* Fix signed/unsigned comparison warnings.alex1996-10-202-6/+6
| | | | Reviewed by: bde
* Whoops, I should've used the LINT config file. More ts -> tv changesnate1996-09-202-8/+8
| | | | for timespec structure.
* Moved the fsnode MALLOC to before the call to getnewvnode() so that thedg1996-06-121-4/+11
| | | | | | process won't possibly block before filling in the fsnode pointer (v_data) which might be dereferenced during a sync since the vnode is put on the mnt_vnodelist by getnewvnode.
* First pass at cleaning up macros relating to pages, clusters and all that.phk1996-05-021-2/+2
|
* Provide a better handling of partially corrupted directory entries.joerg1996-03-141-10/+12
| | | | Submitted by: bde
* This commit was generated by cvs2svn to compensate for changes in r14553,peter1996-03-112-11/+54
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, allpeter1996-03-1113-1019/+1107
| | | | | | | | | | | | | | | | | | files are off the vendor branch, so this should not change anything. A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. [note, new file: cd9660_mount.h]
* | Added prototypes.bde1995-12-033-32/+79
| | | | | | | | | | | | | | | | | | cd9660_rrip.c: Added lots of bogus casts to hide type errors exposed by the prototypes. (Different structs are assumed to have a common prefix.) cd9660_vnops.c: Finished staticizing.
* | Completed function declarations and/or added prototypes.bde1995-11-211-2/+11
| |
* | Since FreeBSD clustering code now supports filesystems < PAGE_SIZE,dyson1995-11-201-2/+6
| | | | | | | | enable clustering for cd9660, thereby giving a BIG performance boost.
* | Get rid of hostnamelen variable.phk1995-11-141-3/+3
| |
* | Brought in the setattr call support from Lite-2 so that more correct errordg1995-11-121-3/+38
| | | | | | | | | | | | returns are provided. Obtained from: 4.4BSD-Lite2
* | Fix isoilk hang caused by not checking for read-onlyness in several places.dg1995-11-122-3/+19
| | | | | | | | | | | | The fix for this in Lite-2 is more complete, but these quick hacks of mine are safer for now. I plan to integrate the additional Lite-2 stuff at some later time. Should completely fix PR810.
* | Introduced a type `vop_t' for vnode operation functions and usedbde1995-11-093-136/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it 1138 times (:-() in casts and a few more times in declarations. This change is null for the i386. The type has to be `typedef int vop_t(void *)' and not `typedef int vop_t()' because `gcc -Wstrict-prototypes' warns about the latter. Since vnode op functions are called with args of different (struct pointer) types, neither of these function types is any use for type checking of the arg, so it would be preferable not to use the complete function type, especially since using the complete type requires adding 1138 casts to avoid compiler warnings and another 40+ casts to reverse the function pointer conversions before calling the functions.
* | Make a lot of stuff static.phk1995-10-314-66/+69
| |
* | Finalize GETPAGES layering scheme. Move the device GETPAGESdyson1995-10-231-1/+2
| | | | | | | | | | interface into specfs code. No need at this point to modify the PUTPAGES stuff except in the layered-type (NULL/UNION) filesystems.
* | Moved the filesystem read-only check out of the syscalls and into thedg1995-10-221-1/+4
| | | | | | | | | | | | | | | | filesystem layer, as was done in lite-2. Merged in some other cosmetic changes while I was at it. Rewrote most of msdosfs_access() to be more like ufs_access() and to include the FS read-only check. Obtained from: partially from 4.4BSD-lite2
* | Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block countdyson1995-09-042-3/+8
| | | | | | | | for VOP_BMAP. Updated affected filesystems...
* | Converted mountlist to a CIRCLEQ.dg1995-08-111-2/+2
| | | | | | | | Partially obtained from: 4.4BSD-Lite2
* | Add support for the va_filerev attribute required by NFSv3.dfr1995-08-021-1/+2
| |
* | Change `extern inline' to `static inline' so that several functionsbde1995-07-251-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | don't go away when the kernel is compiled with -O. The functions are backed up by extern versions in cd9660_util.c, but these versions are disabled by `#ifdef __notanymore__'. They could have been enabled by using `#if defined(__notanymore__) || !defined(__OPTIMIZE__)' but then I would have had to check that they still work. The correct way to handle all this is to replace `extern inline' by `EXTERN_INLINE' and define `EXTERN_INLINE' as `extern inline' in most modules and as empty in one module.
* | There is a small bug in the cd9660 code that prevents stating ofjoerg1995-07-161-1/+2
| | | | | | | | | | | | | | | | | | associated files. Submitted by: leo@dachau.marco.de (Matthias Pfaller) Not-obtained from: NetBSD. Instead sent directly to me by Matthias. (Sorry, this is to prevent people from claiming i might have gotten this from NetBSD. :)
* | Remove trailing whitespace.rgrimes1995-05-307-214/+214
| |
* | NFS diskless operation was broken because swapdev_vp wasn't initialized.dg1995-05-191-4/+4
| | | | | | | | | | | | | | These changes solve the problem in a general way by moving the initialization out of the individual fs_mountroot's and into swaponvp(). Submitted by: Poul-Henning Kamp
* | Readdir on a CDrom would return bogus "d_type" values, potentially confusingphk1995-03-281-1/+4
| | | | | | | | | | everybody (incl find(1) ?). Initialize it to DT_UNKNOWN. Maybe we can do better, but I don't have the time.
* | Add four more filesystem flags:wollman1995-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | VFCF_NETWORK (this FS goes over the net) VFCF_READONLY (read-write mounts do not make any sense) VFCF_SYNTHETIC (data in this FS is not real) VFCF_LOOPBACK (this FS aliases something else) cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr; procfs, kernfs, and fdesc are synthetic.
* | Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-162-7/+5
| | | | | | | | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* | Obtained from: memories of 1.1.5bde1995-02-211-2/+2
| | | | | | | | Fix the sign of the timezone offset again.
* | strategy for block and char devices are rightfully spec_strategy.phk1995-02-131-3/+2
| | | | | | | | | | I feel like yanking all the "ISODEVMAP" stuff altogether, it looks like a bad kludge...
* | Roll in my changes to make the cd9660 code understand the olderjoerg1995-01-169-105/+191
| | | | | | | | | | | | | | | | | | | | (original "High Sierra") CD format. I've already implemented this for 1.1.5.1 (and posted to -hackers), but didn't get any response to it. Perhaps i'm the only one who has such an old CD lying around... Everything is done empirically, but i had three of them around (from different vendors), so there's a high probability that i've got it right. :)
* | Remove the bogus include of <sys/dkbad.h>.bde1994-11-141-2/+1
| |
* | Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-061-3/+3
| | | | | | | | the wait.
* | Make NFS ask the filesystems for directory cookies instead of making themdfr1994-09-281-11/+28
| | | | | | | | itself.
* | Alterations to silence gcc -Wall. Some unused variables deleted.gpalmer1994-09-265-58/+49
| | | | | | | | Reviewed by: davidg
* | More loadable VFS changes:wollman1994-09-222-10/+2
| | | | | | | | | | | | | | | | - Make a number of filesystems work again when they are statically compiled (blush) - FIFOs are no longer optional; ``options FIFO'' removed from distributed config files.
* | Implemented loadable VFS modules, and made most existing filesystemswollman1994-09-212-2/+8
| | | | | | | | loadable. (NFS is a notable exception.)
* | Obtained from:bde1994-09-156-17/+24
| | | | | | | | | | | | | | | | Remove the unnecessary inclusion of disklabel.h in cd9660_vfsops.c so that I don't have to worry about the latter when changing disklabel.h. Supply prototypes for some functions that were implicitly declared and fix the resulting warnings and errors (timevals were punned to timespecs).
* | Fixed some confusion between the size of a logical block and the size of adfr1994-09-093-6/+11
| | | | | | | | | | | | | | | | | | | | device block which was stopping symbolic links working. cd9660_readdir was incorrectly casting a pointer to the d_namlen field of a struct dirent to a (u_short*) which caused the directory entries "." and ".." to read incorrectly. Submitted by: dfr
* | Implemented filesystem clean bit via:dg1994-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | machdep.c: Changed printf's a little and call vfs_unmountall() if the sync was successful. cd9660_vfsops.c, ffs_vfsops.c, nfs_vfsops.c, lfs_vfsops.c: Allow dismount of root FS. It is now disallowed at a higher level. vfs_conf.c: Removed unused rootfs global. vfs_subr.c: Added new routines vfs_unmountall and vfs_unmountroot. Filesystems are now dismounted if the machine is properly rebooted. ffs_vfsops.c: Toggle clean bit at the appropriate places. Print warning if an unclean FS is mounted. ffs_vfsops.c, lfs_vfsops.c: Fix bug in selecting proper flags for VOP_CLOSE(). vfs_syscalls.c: Disallow dismounting root FS via umount syscall.
* | 1) cleaned up after Garrett - fixed more redundant declarations, changeddg1994-08-201-5/+1
| | | | | | | | | | | | | | | | use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes
* | Changed B_AGE policy to work correctly in a world with relatively largedg1994-08-081-4/+1
| | | | | | | | buffer caches. The old policy generally ended up caching nothing.
OpenPOWER on IntegriCloud