summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove some XXX comments (they're not really gone, just invisible).Greg Lehey1999-08-141-48/+9
| | | | | | | | | | | | | | | Remove declarations for freerq and free_rqg. Remove DEBUG_RESID code. freerq: check whether the request is holding a lock, free if so. free_rqg: remove. It wasn't being used any more. Change the Debugger calls to panics. Notes: svn path=/head/; revision=49719
* Change definitions for get_volume_label, lockrange.Greg Lehey1999-08-141-4/+4
| | | | | | | | | | Move definition for unlockrange to request.h (it now contains request-related parameters). Add sddownstate. Notes: svn path=/head/; revision=49718
* Add code which someday will help support hot spares.Greg Lehey1999-08-141-30/+46
| | | | | | | | | | | | | | | | | | | | checkdiskconfig(): remove. It didn't make any sense to complain about kernel keywords in user config files; it just made it more difficult to convert. Now we ignore kernel keywords if we're not in kernel mode. get_empty_sd: initialize sectors. free_drive: don't close if we don't have a vp. Maybe this will help fix the problem that peter had, but I wouldn't count on it. config_plex: If the plex is RAID-5, give it a rangelock structure. start_config: Reset current drive, plex and volume so that a new 'create' command doesn't get long-dead defaults. Notes: svn path=/head/; revision=49717
* vinumopen: add code for opening raw plexes. Volume-related plexGreg Lehey1999-08-141-0/+3
| | | | | | | | devices will probably die a death soon (yes, DES, that's correct usage). Notes: svn path=/head/; revision=49716
* Clarify some comments.Greg Lehey1999-08-141-3/+14
| | | | | | | | | | | struct rqelement, enum rqinfo_type, struct rqinfo, union rqinfou: add lock requests. Add declarations for freerq and unlockrange. Since they include request structures, they can't go in vinumext.h Notes: svn path=/head/; revision=49715
* Add declarations for initvol, initplex and initsd helper functions forGreg Lehey1999-08-141-0/+3
| | | | | | | vinum_init. Notes: svn path=/head/; revision=49714
* vinum_info: add code to print out lock events.Greg Lehey1999-08-141-7/+32
| | | | | | | modify format of other event printouts. Notes: svn path=/head/; revision=49713
* make_plex_dev: make them raw. Volume-related plex devices willGreg Lehey1999-08-141-9/+19
| | | | | | | probably die a death soon (yes, DES, that's correct usage). Notes: svn path=/head/; revision=49712
* vinum_init: add code to initialize subdisks as well as plexes. AlsoGreg Lehey1999-08-141-129/+159
| | | | | | | provide for initializing volumes; this code is not yet complete. Notes: svn path=/head/; revision=49710
* Change reference to mount(1) to mount(8)Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49709
* Minor style fix - change 'if(!*v)' to 'if (!*v)'Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49707
* Grrrr. Fix a really lame bug that I tripped over while testing my miibusBill Paul1999-08-141-2/+2
| | | | | | | | | | | | | | | | | | | stuff: unregister_methods() is horribly broken. The idea, if I'm not mistaken, is that the refcount on a method is decremented, and only when it reaches zero is the method freed. However desc->method is set to NULL unconditionally regardless of the refcount, which means the method pointer is trashed the first time the method is deallocated. The obvious detrimental effect is that memory is leaked. The not so obvious effect is that when you call unregister_method() the second time on the same method, you get a NULL pointer dereference and a panic. Now I can successfully unload network device drivers and the miibus module without crashing the system. *sigh* Notes: svn path=/head/; revision=49706
* Bring up to date to work with -CURRENT.Greg Lehey1999-08-142-19/+108
| | | | Notes: svn path=/head/; revision=49705
* Use proper capitalization.David E. O'Brien1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49704
* Use better comment for tcp_keepalive option.David E. O'Brien1999-08-141-2/+2
| | | | | | | Submitted by: imp Notes: svn path=/head/; revision=49703
* Specify that `ruptime' data is broadcast once every three minutes, notChris Costello1999-08-141-2/+2
| | | | | | | | | | once every minute. PR: docs/13130 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk> Notes: svn path=/head/; revision=49701
* Change reference from kldload(3) to kldload(2)Chris Costello1999-08-131-2/+2
| | | | Notes: svn path=/head/; revision=49699
* Add a notice saying that FreeBSD no longer tracks the PPS-API WG's drafts.Poul-Henning Kamp1999-08-131-1/+5
| | | | Notes: svn path=/head/; revision=49698
* vm_map_madvise:Alan Cox1999-08-131-60/+85
| | | | | | | | | | | | A complete rewrite by dillon and myself to separate the implementation of behaviors that effect the vm_map_entry from those that effect the vm_object. A result of this change is that madvise(..., MADV_FREE); is much cheaper. Notes: svn path=/head/; revision=49697
* Axe LOGIN_CAP_AUTH.Sheldon Hearn1999-08-136-652/+9
| | | | | | | | | PR: 10115 Reported by: Gene Skonicki <gene@cif.rochester.edu> Requested by: jdp Notes: svn path=/head/; revision=49696
* Add support for device drivers which want to track all open/closePoul-Henning Kamp1999-08-134-122/+42
| | | | | | | | | | | | | | | | | | operations. This allows a device driver better insight into what is going on that the current: proc1: open /dev/foo R/O devsw->open( R/O, proc1 ) proc2: open /dev/foo R/W devsw->open( R/W, proc2 ) proc2: close /* nothing, but device is really only R/O open */ proc1: close devsw->close( R/O, proc1 ) Notes: svn path=/head/; revision=49695
* Fix a warning on the alpha.Dmitrij Tejblum1999-08-131-3/+1
| | | | Notes: svn path=/head/; revision=49694
* Fix warnings. (Initializer of promcons did miss an element in the start.)Dmitrij Tejblum1999-08-131-3/+1
| | | | Notes: svn path=/head/; revision=49693
* Implementation of the CDROMSUBCHNL ioctl.Marcel Moolenaar1999-08-134-4/+138
| | | | Notes: svn path=/head/; revision=49688
* Don't examine vp->v_tag (see comment in vnode.h)Poul-Henning Kamp1999-08-132-6/+4
| | | | Notes: svn path=/head/; revision=49687
* Correct style issues with the previous commit.Sheldon Hearn1999-08-131-19/+16
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=49685
* oops: Add missing include.Poul-Henning Kamp1999-08-131-1/+2
| | | | Notes: svn path=/head/; revision=49683
* Move the special-casing of stat(2)->st_blksize for device filesPoul-Henning Kamp1999-08-132-17/+17
| | | | | | | | | from UFS to the generic level. For chr/blk devices we don't care about the blocksize of the filesystem, we want what the device asked for. Notes: svn path=/head/; revision=49682
* Remove spec_getattr(), which as far as I can tell can never be called from ↵Poul-Henning Kamp1999-08-132-6/+2
| | | | | | | the current code-paths, and if it were, would panic on any unmounted bdev. Notes: svn path=/head/; revision=49681
* Register our dev_t with make_devPoul-Henning Kamp1999-08-131-13/+2
| | | | Notes: svn path=/head/; revision=49680
* The bdevsw() and cdevsw() are now identical, so kill the former.Poul-Henning Kamp1999-08-1327-126/+120
| | | | Notes: svn path=/head/; revision=49679
* s/v_specinfo/v_rdev/Poul-Henning Kamp1999-08-139-34/+33
| | | | Notes: svn path=/head/; revision=49678
* Use our floppy device names rather than BSD/OS's.David E. O'Brien1999-08-132-3/+5
| | | | Notes: svn path=/head/; revision=49677
* In doing lock type conversion (struct flock), make sure that carbage in resultsMarcel Moolenaar1999-08-132-4/+10
| | | | | | | | | | | in deterministic behaviour. In this case known garbage out. The fix is different than suggested in the PR. PR: 12749 Originator: Boris Nikolaus <boris@cs.tu-berlin.de> Notes: svn path=/head/; revision=49676
* Document log_in_vain.Warner Losh1999-08-131-1/+7
| | | | | | | | Forgotten by: imp Reminded by: Andreas Klemm Notes: svn path=/head/; revision=49675
* Merge from sys/i386/conf/majors.i386 revision 1.82.KATO Takenori1999-08-131-1/+3
| | | | Notes: svn path=/head/; revision=49674
* Merge from sys/boot/i386/libi386/bootinfo.c revision 1.21.KATO Takenori1999-08-131-2/+6
| | | | Notes: svn path=/head/; revision=49673
* In <199908042059.PAA14626@free.pcs>, Jonathan Lemon wrote:Nik Clayton1999-08-121-7/+2
| | | | | | | | | | | | | | | | | | | | > The route(4) manpage says: > > User processes can obtain information about the routing entry to a spe- > cific destination by using a RTM_GET message, or by reading the /dev/kmem > device, or by issuing a getkerninfo(2) system call. > > IMHO, the above sentence should probably be altered by replacing the > first comma with a period, and throwing away the rest of it. No one's objected, so I've made this change. This sort of fixes docs/12220, by removing the reference to the undocumented getkerninfo(2) call. So I'll close the PR as well. PR: docs/12220 Notes: svn path=/head/; revision=49670
* transparant -> transparentNik Clayton1999-08-121-2/+2
| | | | | | | | PR: docs/8472 Submitted by: Craig Leres <leres@ee.lbl.gov> Notes: svn path=/head/; revision=49669
* Make the default page coloring parameters match a (non-Xeon) Pentium II/III.Alan Cox1999-08-121-2/+8
| | | | | | | | | | | | | This setting is also acceptable for Celerons and Pentium Pros with less than 1MB L2 caches. Note: PQ_L2_SIZE is a misnomer. The correct number of colors is a function of the cache's degree of associativity as well as its size. Submitted by: bde and alc Notes: svn path=/head/; revision=49666
* Make VPATH explanation more concise. I apparently was not thinkingChris Costello1999-08-121-11/+4
| | | | | | | on the previous commit. Notes: svn path=/head/; revision=49665
* Replace a redundant vfs_object_create() call (already done in vn_open)Alfred Perlstein1999-08-122-6/+8
| | | | | | | | | with a KASSERT. Reviewed by: Eivind, Alan Cox Notes: svn path=/head/; revision=49664
* Move ${VPATH} explanation under the .PATH rule section.Chris Costello1999-08-121-16/+13
| | | | | | | | Clarify my vague explanation of how ${VPATH} works and why it shouldn't be used. Notes: svn path=/head/; revision=49663
* Use a wrapper for the link syscall that does name translations.Marcel Moolenaar1999-08-127-11/+54
| | | | | | | | PR: 12749 Submitted by: Boris Nikolaus <boris@cs.tu-berlin.de> Notes: svn path=/head/; revision=49662
* Add check for runnable threads before polling file descriptors.Daniel Eischen1999-08-123-42/+48
| | | | | | | Submitted by: tegge Notes: svn path=/head/; revision=49661
* Protect the file interface against disconnects.Nick Hibma1999-08-121-7/+12
| | | | Notes: svn path=/head/; revision=49660
* nfs_getcacheblk() can return 0 if the mount is interruptible. It need to beDmitrij Tejblum1999-08-122-2/+10
| | | | | | | | | checked by the caller. Broken in: rev. 1.70 (1999/05/02) Notes: svn path=/head/; revision=49659
* Bugfix to last commit: Correctly intuit when an lhs is a string vs. number.Tim Vanderhoek1999-08-121-2/+3
| | | | Notes: svn path=/head/; revision=49658
* vm_object_madvise:Alan Cox1999-08-121-6/+16
| | | | | | | | | Update the comments to match the implementation. Submitted by: dillon Notes: svn path=/head/; revision=49655
* vm_object_madvise:Alan Cox1999-08-121-9/+11
| | | | | | | | | | Support MADV_DONTNEED and MADV_WILLNEED on object types besides OBJT_DEFAULT and OBJT_SWAP. Submitted by: dillon Notes: svn path=/head/; revision=49654