summaryrefslogtreecommitdiffstats
path: root/sys/fs
Commit message (Collapse)AuthorAgeFilesLines
* Fix setting breakpoints in shared regions.dyson1996-10-241-7/+4
|
* Fix signed/unsigned comparison warnings.alex1996-10-202-6/+6
| | | | Reviewed by: bde
* Substitution of a long divide by a shift. Other cosmetic improvements.dyson1996-10-061-13/+22
| | | | Submitted by: bde
* MSDOS FS used to allocate a buffer before extending the VM object. Indyson1996-10-021-7/+9
| | | | | | certain error conditions, it is possible for pages to be left allocated in the object beyond it's end. It is generally bad practice to allocate pages beyond the end of an object.
* Whoops, I should've used the LINT config file. More ts -> tv changesnate1996-09-201-3/+3
| | | | for timespec structure.
* Whoops, I should've used the LINT config file. More ts -> tv changesnate1996-09-202-8/+8
| | | | for timespec structure.
* In sys/time.h, struct timespec is defined as:nate1996-09-192-6/+6
| | | | | | | | | | | | | | /* * Structure defined by POSIX.4 to be like a timeval. */ struct timespec { time_t ts_sec; /* seconds */ long ts_nsec; /* and nanoseconds */ }; The correct names of the fields are tv_sec and tv_nsec. Reminded by: James Drobina <jdrobina@infinet.com>
* Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel.bde1996-09-036-9/+14
| | | | | | | Include it directly in the few places where it is used. Reduced some #includes of <sys/file.h> to #includes of <sys/fcntl.h> or nothing.
* Fixed the easy cases of const poisoning in the kernel. Cosmetic.bde1996-08-311-2/+2
|
* Even though this looks like it, this is not a complex code change.dyson1996-08-211-2/+7
| | | | | | | | | | | | | | | | | The interface into the "VMIO" system has changed to be more consistant and robust. Essentially, it is now no longer necessary to call vn_open to get merged VM/Buffer cache operation, and exceptional conditions such as merged operation of VBLK devices is simpler and more correct. This code corrects a potentially large set of problems including the problems with ktrace output and loaded systems, file create/deletes, etc. Most of the changes to NFS are cosmetic and name changes, eliminating a layer of subroutine calls. The direct calls to vput/vrele have been re-instituted for better cross platform compatibility. Reviewed by: davidg
* bzero reserved field into directory entry, junk here causeache1996-07-281-1/+2
| | | | scandisk error under Win95
* Modify slightly the output from the map file in /proc. Now thedyson1996-07-271-2/+4
| | | | executable bit is shown.
* Under certain circumstances, reading the /proc/*/map file candyson1996-07-271-2/+5
| | | | crash the system. Nonexistant objects were not handled correctly.
* Remove a totally unneeded (and as of the last VM commit, incorrect) calldyson1996-07-271-2/+1
| | | | to pmap_clear_modify.
* Implement locking for pfs nodes, when at the leaf. Concurrent accessdyson1996-07-022-11/+31
| | | | | | | to information from a single process causes hangs. Specifically, this fixes problems (hangs) with concurrent ps commands, when the system is under heavy memory load. Reviewed by: davidg
* Fix a serious problem, with a window where an object lock is needed,dyson1996-07-021-57/+97
| | | | | | but not there. The extent of the object lock is expanded to be over the range that it is needed. Additionally, clean up the code so that it conforms to better coding style.
* Add procfs_type.c to the repository.dyson1996-06-181-0/+91
|
* Clean-up the new VM map procfs code, and also add support for executabledyson1996-06-184-6/+24
| | | | | format file "etype". It contains a description of the binary type for a process.
* This file is the "meat" of the process address space capability. If youdyson1996-06-171-0/+169
| | | | would like other things added, just ask!!! It might be pretty easy to add.
* Add a feature to procfs to allow display of the process address mapdyson1996-06-173-4/+11
| | | | | | | with multiple entries as follows: start address, end address, resident pages in range, private pages in range, RW/RO, COW or not, (vnode/device/swap/default).
* The Great PC98 Merge.asami1996-06-144-4/+97
| | | | | | | | All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users. Ok'd by: core Submitted by: FreeBSD(98) development team
* Clean up -Wunused warnings.gpalmer1996-06-122-24/+2
| | | | Reviewed by: bde
* Moved the fsnode MALLOC to before the call to getnewvnode() so that thedg1996-06-127-31/+82
| | | | | | | | 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. Pointed out by Matt Day <mday@artisoft.com>
* 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.
* Properly lock the vm space when accessing the memory in a process. Thisdyson1996-06-111-2/+14
| | | | | fix could solve some "interesting" problems that could happen during process rundown.
* First pass at cleaning up macros relating to pages, clusters and all that.phk1996-05-021-2/+2
|
* Fix adjkerntz expression priority.ache1996-04-051-3/+3
| | | | Make filetimes the same as DOS times for UTC cmos clock.
* Don't adjust file times for UTC clock to have the same timestampsache1996-04-051-4/+6
| | | | for DOS/FreeBSD.
* add a `Warning:' to the message saying that the root directory is not agpalmer1996-04-031-2/+2
| | | | | multiple of the clustersize in length to try and reduce the number of questions we get on the subject.
* Fix the problem that unmounting filesystems that are backed by a VMIOdyson1996-03-191-2/+3
| | | | | | | device have reference count problems. We mark the underlying object ono-persistent, and account for the reference count that the VM system maintainsfor the special device close. This should fix the removable device problem.
* Provide a better handling of partially corrupted directory entries.joerg1996-03-141-10/+12
| | | | Submitted by: bde
* Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, allpeter1996-03-112-11/+54
| | | | | | | | | 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]
* For Lite2: proc LIST changes.hsu1996-03-111-6/+4
| | | | Reviewed by: davidg & bde
* Make sure that the zero flag is cleared upon completion of paging I/O.dyson1996-03-091-1/+2
|
* Kill XNS.wollman1996-02-132-5/+5
| | | | | While we're at it, fix socreate() to take a process argument. (This was supposed to get committed days ago...)
* add ruid and rgid to file 'status'wosch1996-02-021-4/+12
|
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-302-5/+5
| | | | a bunch of system include files.
* This time, really make the procfs work when reading stuff from the UPAGES.peter1996-01-251-15/+34
| | | | | | | | | | | | This is a really ugly bandaid on the problem, but it works well enough for 'ps -u' to start working again. The problem was caused by the user address space shrinking by a little bit and the UPAGES being "cast off" to become a seperate entity rather than being at the top of the process's vmspace. That optimization was part of John's most recent VM speedups. Now, rather than decoding the VM space, it merely ensures the pages are in core and accesses them the same way the ptrace(PT_READ_U..) code does, ie: off the p->p_addr pointer.
* Major fixes for procfs..peter1996-01-246-22/+88
| | | | | | | | | | | | | | | | Implement a "variable" directory structure. Files that do not make sense for the given process do not "appear" and cannot be opened. For example, "system" processes do not have "file", "regs" or "fpregs", because they do not have a user area. "attempt" to fill in the user area of a given process when it is being accessed via /proc/pid/mem (the user struct is just after VM_MAXUSER_ADDRESS in the process address space.) Dont do IO to the U area while it's swapped, hold it in place if possible. Lock off access to the "ctl" file if it's done a setuid like the other pseudo-files in there.
* Eliminated many redundant vm_map_lookup operations for vm_mmap.dyson1996-01-192-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Speed up for vfs_bio -- addition of a routine bqrelse to greatly diminish overhead for merged cache. Efficiency improvement for vfs_cluster. It used to do alot of redundant calls to cluster_rbuild. Correct the ordering for vrele of .text and release of credentials. Use the selective tlb update for 486/586/P6. Numerous fixes to the size of objects allocated for files. Additionally, fixes in the various pagers. Fixes for proper positioning of vnode_pager_setsize in msdosfs and ext2fs. Fixes in the swap pager for exhausted resources. The pageout code will not as readily thrash. Change the page queue flags (PG_ACTIVE, PG_INACTIVE, PG_FREE, PG_CACHE) into page queue indices (PQ_ACTIVE, PQ_INACTIVE, PQ_FREE, PQ_CACHE), thereby improving efficiency of several routines. Eliminate even more unnecessary vm_page_protect operations. Significantly speed up process forks. Make vm_object_page_clean more efficient, thereby eliminating the pause that happens every 30seconds. Make sequential clustered writes B_ASYNC instead of B_DELWRI even in the case of filesystems mounted async. Fix a panic with busy pages when write clustering is done for non-VMIO buffers.
* Convert QUOTA to new-style option.wollman1996-01-051-16/+1
|
* I have some problem here, which shows up in the ahc0 driver. It isn't wherephk1996-01-011-1/+7
| | | | | it originates, so I catch it here and fail. This may expose the same bug on other disk controllers (both scsi & ide).
* Fixed 1TB filesize changes. Some pindexes had bogus names and typesbde1995-12-171-5/+5
| | | | but worked because vm_pindex_t is indistinuishable from vm_offset_t.
* Another mega commit to staticize things.phk1995-12-143-14/+18
|
* devsw tables are now arrays of POINTERS to struct [cb]devswjulian1995-12-131-17/+17
| | | | | | | | | seems to work hre just fine though I can't check every file that changed due to limmited h/w, however I've checked enught to be petty happy withe hte code.. WARNING... struct lkm[mumble] has changed so it might be an idea to recompile any lkm related programs
* Back out this one, must have screwed up somewhere :-(phk1995-12-112-8/+12
|
* Staticize.phk1995-12-119-151/+153
|
* Changes to support 1Tb filesizes. Pages are now named by andyson1995-12-112-6/+37
| | | | (object,index) pair instead of (object,offset) pair.
* Pass 3 of the great devsw changesjulian1995-12-082-12/+11
| | | | | | | | | | | | | | | | | | | | | | | most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :)
* Untangled the vm.h include file spaghetti.dg1995-12-075-5/+22
|
OpenPOWER on IntegriCloud