#
481d3881 |
| 05-Jul-2024 |
rin <rin@NetBSD.org> |
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD: https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Co
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD: https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
show more ...
|
#
ef140c5b |
| 21-Jan-2018 |
christos <christos@NetBSD.org> |
PR/40491: From Tobias Ulmer in tech-kern@: 1. Protect the nfs request queue with its own mutex 2. make the nfs_receive queue check for signals so that intr mounts can be interrupted. XXX: pullup-8
|
#
2aa3b3ef |
| 17-Jun-2016 |
christos <christos@NetBSD.org> |
Serialize all access to the NFS request queue via splsoftnet(). Fixes random crashes. XXX: Pullup-7
|
#
954c4c5c |
| 13-Jun-2016 |
christos <christos@NetBSD.org> |
Simplify, no functional change.
|
#
45ab7f23 |
| 15-Jul-2015 |
manu <manu@NetBSD.org> |
Fix soft NFS force unmount
For many reasons, forcibly unmounting a soft NFS mount could hang forever. Here are the fixes: - Introduce decents timeouts in operation that awaited NFS server reply. - O
Fix soft NFS force unmount
For many reasons, forcibly unmounting a soft NFS mount could hang forever. Here are the fixes: - Introduce decents timeouts in operation that awaited NFS server reply. - On timeout, fails operations on soft mounts with EIO. - Introduce NFSMNT_DISMNTFORCE to let the filesystem know that a force unmount is ongoing. This causes timeouts to be reduced and prevents the NFS client to attempt reconnecting to the NFS server.
Also fix a race condition where some asynchronous I/O could reference destroyed mount structures. We fix this by awaiting asynchronous I/O to drain before proceeding.
Reviewed by Chuck Silvers.
show more ...
|
#
cf2d76c1 |
| 05-Sep-2014 |
matt <matt@NetBSD.org> |
Don't use catch as a variable name.
|
#
77486bda |
| 02-Mar-2010 |
pooka <pooka@NetBSD.org> |
Get rid of dependency on fs_nfs.h, i.e. source modules with conditional content depending on if the NFS client is wanted or not. The server can now be made an independent module not depending on the
Get rid of dependency on fs_nfs.h, i.e. source modules with conditional content depending on if the NFS client is wanted or not. The server can now be made an independent module not depending on the nfs client.
Tested with rump_nfs (standalone client), rump_nfsd (standalone nfsd) and a qemu installation with both the client and the server.
show more ...
|