Commit Graph

26 Commits

Author SHA1 Message Date
christos 8a5b1b92e2 First pass at prototyping 1996-02-04 02:15:01 +00:00
mycroft ec64328797 Check for todo<0, done<0, and done>todo. 1995-10-10 02:51:45 +00:00
mycroft 80d7b0695a minphys() functions really should return void. 1995-08-12 20:30:45 +00:00
mycroft 605a125097 After an I/O operation completes, immediately set B_BUSY again. Also,
lower spl sooner, and remove an unneeded splbio()/splx() pair.
1995-07-27 02:37:12 +00:00
cgd b45221af72 prototype strategy and minphys, use & check minphys return value 1995-07-24 07:45:24 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
mycroft 6c5092484b Eliminate use of b_bufsize, and instead pass an extra arg to v(un)mapbuf(),
to be consistent with vs)un)lock().
1994-06-28 22:21:16 +00:00
mycroft ff2e6e12a2 Set b_bufsize after the minphys routine is called. 1994-06-26 06:08:11 +00:00
mycroft 507802da61 Set b_bufsize, for use by v{,un}mapbuf(). 1994-06-16 00:54:18 +00:00
mycroft 0d8affb278 Turn P_NOSWAP and P_PHYSIO into a hold count, as suggested by a comment. 1994-06-15 19:59:21 +00:00
cgd b3fda1e8ec update with merged versions 1994-05-20 10:05:02 +00:00
cgd 47d5757075 4.4-Lite versions 1994-05-20 10:04:05 +00:00
mycroft 495d3519fa HPUXCOMPAT -> COMPAT_HPUX 1994-05-04 04:02:54 +00:00
cgd 3dda0064a5 Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
some knf and structure frobbing to do along with it.
1994-04-21 07:47:31 +00:00
cgd 1758eaf2cb kill hack for vfs_bio jolitz-ish hack 1994-01-27 07:45:21 +00:00
mycroft 21edb9924e Canonicalize all #includes. 1993-12-18 03:59:02 +00:00
pk e7356e6993 Use proc pointer passed in uio rather then curproc for credentials (should
perhaps be done for b_proc also).
1993-12-16 16:28:43 +00:00
pk 644f409712 Properly initialize the credentials fields in the buffer used in physio().
Actually use the credentials of `curproc' when doing IO (among other things,
this allows us to read /dev/drum when swapping on an NFS mounted file).
1993-12-07 23:46:13 +00:00
cgd 76dbc1192b new specfs.h and fifo.h locations 1993-11-12 05:54:12 +00:00
cgd 98bb5ccd73 if mincnt returns 0 (i.e. off end of disk, or something), punt. 1993-07-08 10:53:40 +00:00
cgd 0ffdd71a7e mark the buffer busy immediately when we acquire it,
also, sleep at a slightly higher priority (so says mw...)
1993-07-08 10:29:26 +00:00
andrew 0e6cb953ea ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.
1993-06-27 06:01:27 +00:00
mycroft 0ee0a87c29 Fix uninitialized variable. 1993-06-24 21:34:54 +00:00
cgd b2285d45d0 special case raw disk handling return values 1993-06-22 05:19:14 +00:00
cgd 0dde03704d use/add new physio... 1993-06-16 22:06:33 +00:00