mohans 2006-01-24 01:16:18 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_5)
sys/netinet tcp_sack.c
Log:
Avoid an infinite loop in sack scoreboard processing when the per-hole
limits or global scoreboard limits are reached, or when memory
exhausti
Mukerji ([EMAIL PROTECTED])
Reviewed by: Mohan Srinivasan
Revision ChangesPath
1.30 +2 -0 src/sys/netinet/tcp_sack.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any
mohans 2006-04-06 01:20:30 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_bio.c nfs_vnops.c nfsnode.h
Log:
Keep track of the number of in-progress async direct IO writes in the nfsnode.
Make fsync/close wait until all of these drain. Add a check to nfs_get
mohans 2006-04-06 17:21:16 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_sack.c
Log:
Eliminate debug code that catches bugs in the hinting of sack variables
(tcp_sack_output_debug checks cached hints aginst computed values by walking
the
scoreboard and
Alfred,
If the operation times out because the server rebooted (or because
of a network glitch), rather than losing data, the client can
potentially have the data written out successfully later.
Other NFS client implementations (at least the Solaris client)
re-dirty pages on soft mount timeouts
Alfred,
FYI - I am working on changes that would retain and re-dirty the
buffers on other NFS errors as well. For example, on an ESTALE,
there's little point in retaining the buffers. But on reception
of an ENOSPC, it might be worth retaining and re-dirtying the
buffers, as space could free up
mohans 2006-04-25 00:21:57 UTC
FreeBSD src repository
Modified files:
sys/nfsservernfsrvcache.h
Log:
Bump up the NFS server dupreq cache limit to 2K (from 64). With a small
duplicate request cache, under heavy load a lot of non-idempotent requests
were getting served
--- Sam Leffler <[EMAIL PROTECTED]> wrote:
> >
> > Fundamentally it doesn't, this change just pushes it out of the regime
> > where it's trivial to overflow.
>
> Why is it hard to do a real fix? Or is this a temporary bandaid?
Most NFS server that I am aware of will scale the duplicate request
mohans 2006-05-05 18:04:53 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
Fix for a NFS/TCP client bug which would cause the NFS/TCP stream to get
out of sync under heavy loads, forcing frequent reconnets, causing EBADRPC
errors etc.
R
mohans 2006-05-05 18:12:13 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
Fix a snafu caused while patching the previous fix from another branch.
Revision ChangesPath
1.139 +0 -1 src/sys/nfsclient/nfs_socket.c
_
mohans 2006-05-19 00:04:24 UTC
FreeBSD src repository
Modified files:
sys/nfs4client nfs4_vfsops.c
sys/nfsclientnfs.h nfs_bio.c nfs_nfsiod.c nfs_node.c
nfs_socket.c nfs_subs.c nfs_vfsops.c
nfs_vnops.c nfsmount.h n
mohans 2006-05-23 16:07:23 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_node.c
Log:
Vnode locks are recursive and the NFS client support shared vnode locks.
Found by: Kris Kennaway.
Revision ChangesPath
1.81 +5 -0 src/sys/nfsclie
mohans 2006-05-24 23:06:50 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs.h nfs_nfsiod.c
Log:
Since NFSv4 is not SMP safe, nfsiod needs to acquire Giant for NFSv4 mounts
before doing the read/write.
Reported by:Chuck Lever.
Revision Changes
mohans 2006-05-26 18:45:55 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_vfsops.c
Log:
Fix for a potential attempt to sleep while holding nm_mtx. Caught and reported
by Witness (which forces the mbuf allocation flag to M_NOWAIT).
Reported by: "sekes"
mohans 2006-05-30 20:32:44 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_vfsops.c
Log:
Kris Kennaway found that for '/' NFS mounts, the MPSAFE mount flag was
not being set, which means Giant would be acquired for these mounts.
Revision ChangesPa
mohans 2006-08-26 17:53:19 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_subr.c
Log:
Fix for a bug that causes the computation of "len" in tcp_output() to
get messed up, resulting in an inconsistency between the TCP state
and so_snd.
Revision Chan
mohans 2006-08-29 22:00:12 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
Fix for a deadlock triggered by a 'umount -f' causing a NFS request to never
retransmit (or return). Thanks to John Baldwin for helping nail this one.
Found by : K
mohans 2006-09-05 19:16:10 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/netinet tcp_input.c tcp_subr.c tcp_timer.c
tcp_timer.h
Log:
MFC: Fixes an edge case bug in timewait handling where ticks rolling over
causing
mohans 2006-09-05 19:18:42 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/netinet tcp_subr.c
Log:
MFC: Fix for a bug that causes the computation of "len" in tcp_output() to
get messed up, resulting in an inconsistency between the TCP sta
mohans 2006-09-13 18:39:09 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_lookup.c
sys/nfs4client nfs4_vfsops.c nfs4_vnops.c
sys/nfsclientnfs_node.c nfs_subs.c nfs_vfsops.c
nfs_vnops.c nfsnode.h
sys/sys
mohans 2006-09-13 19:25:44 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_node.c
Log:
MFC:
Vnode locks are recursive and the NFS client support shared vnode locks.
Approved by: re
Revision ChangesPath
1.76.2.3
mohans 2006-09-14 17:57:02 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_lookup.c
Log:
Fix for a potential bug caught by Coverity. Pointed out to me by Kris
Kennaway.
Revision ChangesPath
1.95 +2 -1 src/sys/kern/vfs_lookup.c
_
mohans 2006-10-01 05:03:18 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_socket.c
Log:
MFC change 1.138.
Fix for a NFS/TCP client bug which would cause the NFS/TCP stream to get
out of sync under heavy loads, forcing frequent r
mohans 2006-10-31 20:25:37 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
Make EWOULDBLOCK a recoverable error so that the request is retransmitted.
This bug results in data corruption with NFS/TCP. Writes are silently dropped
on EWOULDBLOC
mohans 2006-06-23 00:42:26 UTC
FreeBSD src repository
Modified files:
sys/nfsservernfs_srvcache.c nfsrvcache.h
Log:
Size the NFS server dupreq cache on the basis of nmbclusters. On servers
with low nmbclusters, we tie up too many mbclusters in the NFS duplicate
reque
mohans 2006-08-11 21:15:23 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_input.c tcp_subr.c tcp_timer.c
tcp_timer.h
Log:
Fixes an edge case bug in timewait handling where ticks rolling over causing
the timewait expiry to be exact
mohans 2007-09-25 21:08:49 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_bio.c nfs_nfsiod.c
Log:
Fix for a very rare race, caused by the nfsiod wakeup and nfsiod idle
timeout occurring at exactly the same time. If this happens, the nfsiod
exits although
mohans 2007-10-12 03:56:27 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_sockbuf.c
sys/nfsservernfs_syscalls.c
Log:
Set the NFS server sockbuf high watermarks to the system defaults
(up form 32KB). The low highwatermark setting caused UDP fu
mohans 2007-10-12 03:59:19 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
sys/kern uipc_sockbuf.c
sys/nfsservernfs_syscalls.c
Log:
MFC :
Set the NFS server sockbuf high watermarks to the system defaults
(up form 32KB). The low h
mohans 2007-10-12 19:12:21 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs.h nfs_socket.c nfs_subs.c nfsmount.h
Log:
NFS MP scaling changes.
- Eliminate the hideous nfs_sndlock that serialized NFS/TCP request senders
thru the sndlock.
- Institute a ne
mohans 2007-10-12 19:18:46 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
sys/nfsclientnfs.h nfs_socket.c nfs_subs.c nfsmount.h
Log:
MFC:
NFS MP scaling changes.
- Eliminate the hideous nfs_sndlock that serialized NFS/TCP request senders
thr
mohans 2006-11-02 19:48:17 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_socket.c
Log:
MFC: Make EWOULDBLOCK a recoverable error so that the request is
retransmitted. This bug results in data corruption. Writes are
silently dro
mohans 2006-11-16 23:02:38 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_vnops.c
Log:
Fix to readdir+ reply handling. When inserting an entry into the namecache,
initialize the nfsnode's ctime. Otherwise a subsequent lookup purges the
just entered namec
mohans 2006-11-16 23:03:46 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_node.c
Log:
vfs_hash_insert() vputs() the losing vnode before returning, in the event of
a race where a duplicate vnode is entered into the vfs hash. nfs_nget()
shouldn't
be relea
mohans 2006-11-22 22:21:57 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern uipc_socket.c
Log:
Fix a race in soclose() where connections could be queued to the
listening socket after the pass that cleans those queues. This
results in
mohans 2006-11-22 23:06:27 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6_2)
sys/kern uipc_socket.c
Log:
Fix a race in soclose() where connections could be queued to the
listening socket after the pass that cleans those queues. This
results i
mohans 2006-11-22 23:54:29 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_socket.c
Log:
Fix a race in soclose() where connections could be queued to the
listening socket after the pass that cleans those queues. This
results in these connections being or
mohans 2006-11-27 19:06:43 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_node.c
Log:
Fix for a bug caused by a race when 2 threads lookup the same
file. Leave the loser's lock(s) initialized, so the reclaim logic can
unconditionally destroy them when th
mohans 2006-11-27 23:26:06 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
bde@ pointed out that tprintf() acquires Giant so callers of tprintf() don't
have to explicitly acquire Giant (although they need to be aware of this and
not hold any
mohans 2006-11-29 02:21:40 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_node.c
Log:
In nfs_nget(), we must initialize the fh in the nfsnode before inserting the
vnode into the vfs hash. Otherwise, another thread walking the hash can trip
on an nfsnode
mohans 2006-12-05 18:41:35 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_vnops.c
Log:
MFC :
Fix to readdir+ reply handling. When inserting an entry into the namecache,
initialize the nfsnode's ctime. Otherwise a subsequent look
mohans 2006-12-05 18:44:59 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6_2)
sys/nfsclientnfs_vnops.c
Log:
MFC:
Fix to readdir+ reply handling. When inserting an entry into the namecache,
initialize the nfsnode's ctime. Otherwise a subsequent loo
mohans 2006-12-11 19:54:25 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
NetApp filers return corrupt post op attrs in the wcc on NFS error responses.
This is easy to reproduce for EROFS. I am not sure if the attrs can be corrupt
for other
mohans 2007-01-03 20:19:02 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_node.c
Log:
MFC 3 fixes from -current. All having to do with the case where the same
filehandle is looked up by 2 or more processes.
- Don't vrele() the l
mohans 2007-01-24 22:49:12 UTC
FreeBSD src repository
Modified files:
sys/vm uma_core.c
Log:
Fix for a bug where only one process (of multiple) blocked on
maxpages on a zone is woken up, with the rest never being woken up as
a result of the ZFLAG_FULL flag bein
mohans 2007-01-25 01:05:23 UTC
FreeBSD src repository
Modified files:
sys/kern kern_mbuf.c
sys/sys mbuf.h
sys/vm uma.h uma_core.c
Log:
Fix for problems that occur when all mbuf clusters migrate to the mbuf packet
zone. Cluster a
<[EMAIL PROTECTED]> wrote:
> Mohan,
>
> On Wed, Jan 24, 2007 at 10:49:12PM +, Mohan Srinivasan wrote:
> M> mohans 2007-01-24 22:49:12 UTC
> M>
> M> FreeBSD src repository
> M>
> M> Modified files:
> M> sys/vm uma_
Hi Gleb,
Sorry. Lost power at home earlier this morning and was operating on very low
laptop battery power (and stealing network bandwidth from my neighbor over his
unsecured wireless network :)), so sent you a brief reply earlier.
We have this bit of logic in uma_zfree_arg()
/* See uma.h */
voi
mohans 2007-01-31 23:10:28 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_vnops.c
Log:
Fix for a vnode lock leak in nfs_create() in the event of an error.
Spotted by [EMAIL PROTECTED]
Revision ChangesPath
1.273 +2 -0 src/sys/nfsclient/
mohans 2007-01-31 23:11:15 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_vnops.c
Log:
MFC: Fix for a vnode lock leak in nfs_create() in the event of an error.
Spotted by [EMAIL PROTECTED]
RevisionChangesPath
1.258.
mohans 2007-02-11 03:07:46 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_lookup.c
sys/nfs4client nfs4_vfsops.c nfs4_vnops.c
sys/nfsclientnfs_node.c nfs_subs.c nfs_vfsops.c
nfs_vnops.c nf
mohans 2007-02-11 03:13:54 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/vm uma_core.c
Log:
MFC :
Fix for a bug where only one process (of multiple) blocked on
maxpages on a zone is woken up, with the rest never being woken up as
mohans 2007-02-11 03:31:19 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern kern_mbuf.c
sys/sys mbuf.h
sys/vm uma.h uma_core.c
Log:
MFC:
Fix for problems that occur when all mbuf clusters migrate
mohans 2007-02-11 03:43:34 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_socket.c
Log:
Add missing MNT_ILOCK around some mnt_kern_flag accesses.
RevisionChangesPath
1.125.2.13 +8 -1 src/sys/nfsclient/nfs_socket
mohans 2007-02-11 04:01:10 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
Add missing MNT_ILOCK around some mnt_kern_flag accesses.
Revision ChangesPath
1.149 +6 -0 src/sys/nfsclient/nfs_socket.c
___
mohans 2007-02-16 03:46:55 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
Backing out an earlier change. It seems harmless for NFS to miss the "force
unmount" flag, making the acquisition of the MNT_ILOCK in nfs_request() and
nfs_sigintr()
mohans 2007-02-16 03:53:33 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/nfsclientnfs_socket.c
Log:
MFC:
Backing out an earlier change. It seems harmless for NFS to miss the "force
unmount" flag, making the acquisition of the MNT_ILOCK in n
mohans 2007-02-26 22:25:21 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_input.c tcp_subr.c tcp_timer.c
tcp_timer.h tcp_usrreq.c tcp_var.h
usr.bin/netstat inet.c
Log:
Reap FIN_WAIT_2 connections marked SOCANTRCVMORE faste
mohans 2007-02-28 19:32:46 UTC
FreeBSD src repository
Modified files:
share/man/man4 tcp.4
Log:
Update the tcp(4) manpage with the new (and some older undocumented) sysctls.
Remove a sysctl that is no longer used.
Revision ChangesPath
1.56 +19 -3 src
mohans 2007-02-28 20:48:01 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_input.c
Log:
In the SYN_SENT case, Initialize the snd_wnd before the call to tcp_mss().
The TCP hostcache logic in tcp_mss() depends on the snd_wnd being initialized.
Revision
mohans 2007-03-09 04:02:38 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 trap.c
sys/i386/i386trap.c
sys/ia64/ia64trap.c
sys/kern kern_thread.c
sys/nfsclientnfs_socket.c nfs_subs.c nfs_vnops.c
mohans 2007-03-09 04:07:54 UTC
FreeBSD src repository
Modified files:
sys/nfsclientnfs_socket.c
Log:
Back out a chance to nfs_timer() that inadvertantly crept in the last checkin
:(
Revision ChangesPath
1.152 +1 -1 src/sys/nfsclient/nfs_socket.c
___
62 matches
Mail list logo