History log of /netbsd/sys/nfs/nfs_bio.c (Results 26 – 50 of 201)
Revision Date Author Comments
# 96d7a830 16-Oct-2008 christos <christos@NetBSD.org>

don't use variable allocation on the stack.


# 6d70f903 24-Apr-2008 ad <ad@NetBSD.org>

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
be sent from a hardware interrupt handler. Signal activity must be
deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

show more ...


# 9230a9b0 29-Mar-2008 yamt <yamt@NetBSD.org>

ansify. from Christoph Egger.


# 677860cb 02-Jan-2008 yamt <yamt@NetBSD.org>

use kmem_alloc instead of malloc.


# 4a780c9a 02-Jan-2008 ad <ad@NetBSD.org>

Merge vmlocking2 to head.


# 1ed3981c 04-Dec-2007 yamt <yamt@NetBSD.org>

merge non-intrusive nfs changes from vmlocking.


# 61e8303e 26-Nov-2007 pooka <pooka@NetBSD.org>

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp shoul

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

show more ...


# 79606bd6 28-Oct-2007 yamt <yamt@NetBSD.org>

make NFS_ATTRTIMEO a function.


# 7dad9f73 10-Oct-2007 ad <ad@NetBSD.org>

Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.


# 9f56dfa5 08-Oct-2007 ad <ad@NetBSD.org>

Merge brelse() changes from the vmlocking branch.


# c379ad65 10-Aug-2007 yamt <yamt@NetBSD.org>

- instead of scanning an array of iods, maintain a list of idle iods.
- make nfs_getset_niothreads MP friendly.


# 8e473ee7 08-Aug-2007 yamt <yamt@NetBSD.org>

push kernel_lock a little.


# a0d1fd8d 29-Jul-2007 ad <ad@NetBSD.org>

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoev

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

show more ...


# 662e7a9e 27-Jul-2007 yamt <yamt@NetBSD.org>

use ubc_uiomove for read as well.


# 3822af70 27-Jul-2007 yamt <yamt@NetBSD.org>

ubc_uiomove: add an "advice" argument rather than using UVM_ADV_RANDOM blindly.


# 97c7bbe6 20-Jul-2007 yamt <yamt@NetBSD.org>

- fix decreasing of vfs.nfs.iothreads after the recent partial merge
of vmlocking.
- don't make nfsiod exit with requests left.
- make NFSSVC_BIOD a dummy so that nfsiod can be simplified.


# bc1bb99d 17-Jul-2007 yamt <yamt@NetBSD.org>

remove (void)0; nonsense.


# 9dc12587 17-Jul-2007 yamt <yamt@NetBSD.org>

fix a typo in a comment.


# 845fda99 12-Jul-2007 rmind <rmind@NetBSD.org>

nfs_asyncio: fix the locking in error case, problem was introduced
in 1.153 revision, where ltsleep() was replaced with condvar.

Problem found and fix provided by David A. Holland, PR/36610.
Actuall

nfs_asyncio: fix the locking in error case, problem was introduced
in 1.153 revision, where ltsleep() was replaced with condvar.

Problem found and fix provided by David A. Holland, PR/36610.
Actually, relock is not needed here, and mutex would be unlocked
only on nfs_sigintr() fail case.

show more ...


# 88ab7da9 09-Jul-2007 ad <ad@NetBSD.org>

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements


# 75081228 12-Jun-2007 yamt <yamt@NetBSD.org>

nfs_write:
- IO_SYNC: don't bother to flush dirty pages before copying data from
user buffer.
- IO_APPEND: don't invalidate pages blindly. PR/28472 from Brian Marcotte.


# da51d139 05-Jun-2007 yamt <yamt@NetBSD.org>

improve post-ubc file overwrite performance in common cases.
ie. when it's safe, actually overwrite blocks rather than doing
read-modify-write.

also fixes PR/33152 and PR/36303.


# 683644f0 09-May-2007 yamt <yamt@NetBSD.org>

nfs_write: report an error correctly in the case of IO_SYNC.


# aca67640 29-Apr-2007 yamt <yamt@NetBSD.org>

use mutex and condver.


# 337d052e 19-Apr-2007 yamt <yamt@NetBSD.org>

hold proclist_mutex when calling psignal().


123456789