- 13 Mar, 2004 2 commits
-
-
http://nfsclient.bkbits.net/linux-2.5Trond Myklebust authored
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5
-
http://nfsclient.bkbits.net/linux-2.5Trond Myklebust authored
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5
-
- 14 Mar, 2004 3 commits
-
-
Wim Van Sebroeck authored
Remove unnecessary initialization in notifier_block
-
Wim Van Sebroeck authored
Version 0.03 of wdt977.c - Changes that were made are: * Extract the stop code in a seperate function (wdt977_stop) * Extract the start code in a seperate function (wdt977_start) * Rename kick_wdog to wdt977_keepalive for consistency * Extract the watchdog's status code to a seperate function (wdt977_get_status) * Change the way we deal with the watchdog timeout: Up till now we used timeoutM (in minutes) as the correct value and then calculated timeout as being timeoutM*60 or *timeoutM*120 (depending on wether or not we have the netwinder hardware bug). From now on timeout is the correct value and we calculate timeoutM out of it. Because of this we start with checking wether or not we have a correct timeout value (if not we reset it to the default value) and we automatically calculate timeoutM. Each time we change timeout with a correct timeout value, we recalculate timeoutM. * Extended ioctl code with WDIOC_SETOPTIONS and updated the watchdog_info structure * Added notifier support Code has been tested by Woody
-
Wim Van Sebroeck authored
Two small fixes: * Make cards_found a global variable so that if we remove the pci device we can count down. * If we can't find a correct I/O address for the card, then we should disable the card again.
-
- 13 Mar, 2004 32 commits
-
-
Trond Myklebust authored
Hence the i_size_write() in there is deadlocky. Go back to the old way.
-
Trond Myklebust authored
Forward-port from 2.4: The following patch pulls an NFS server IP address off root_server_path (handed out via the DHCP root-path option), if it is present. For example, you can do this sort of thing in dhcpd.conf: root-path = 192.168.1.33:/tftpboot/yip.zImage This lets you mount your root filesystem off a different machine than you booted from, without needing to use kernel command-line parameters. The patch appears to be backwards compatible. RFC2132 says this about the root-path option: This option specifies the path-name that contains the client's root disk. The path is formatted as a character string consisting of characters from the NVT ASCII character set. This is sufficiently vague to allow the path-name to include an IP-address. Also, I found some documentation for FreeBSD saying it does this too, so it must be right, because those FreeBSD guys are really smart... :-) The only downside of the patch is that the summary that ipconfig prints can be a little odd when the kernel command line overrides whatever ipconfig gets from (say) DHCP. The address from the kernel command line seems to get stripped off early, so ipconfig reports it, but it doesn't report the kernel command line NFS path, since that's handled a bit later... This small cosmetic problem looks difficult to "fix" without rewriting quite a bit of stuff...
-
Trond Myklebust authored
-
Trond Myklebust authored
-
Trond Myklebust authored
read due to EOF.
-
Trond Myklebust authored
This is wanted in order to allow the NFS client to send more requests before is has to block and wait for replies. This is mainly useful if you have a WAN and want to ensure that the bandwidth is being used efficiently.
-
Trond Myklebust authored
where this causes a padding error: xdr_encode_fhandle() and unx_marshal()
-
Trond Myklebust authored
are placed last on the ordered list nlm_block (problem reported by Olaf Kirch).
-
Trond Myklebust authored
by using the client address in addition to the value of the NLM cookie field.
-
Trond Myklebust authored
were requesting a blocking lock when we get a reply from the server asking us to block.
-
Trond Myklebust authored
When a server receives that callback it should deallocate the corresponding blocked lock using the nlmsvc_grant_reply function.
-
Trond Myklebust authored
of compound_decode_hdr_maxsz. NFSv4: fix a printk() typo (spotted by Linda Dunaphant). NFSv4: Ensure that nfs4_open_reclaim() copies the value of the new stateid back into the shared nfsv4 state structure. NFSv4: Don't leak NFS4ERR_WRONGSEC errors back into nfs_lookup(). RPC,NFS,Lockd: Mark the debugging code as "unlikely" so that gcc moves it out of the mainline code paths.
-
Trond Myklebust authored
full error codes. Should allow the "mount" program to print more useful error diagnostics.
-
Trond Myklebust authored
port. Fixes a privilege bug when CONFIG_SECURITY is set. RPC: When trying to reconnect to a TCP port, try to bind() to the last used port number in order to ensure that the servers NFS replay cache recognizes this as being the same mount as before.
-
Trond Myklebust authored
ensure that the timeout shift is clamped to a maximum value of 8. RPC: Fix by Olaf Kirch to the rpc scheduler to ensure sync tasks respect the "intr" mount flag.
-
Trond Myklebust authored
of an unnecessary global spinlock.
-
Trond Myklebust authored
problem.
-
Trond Myklebust authored
ones labelled as belonging to our file. This fixes a bug in which msync(MS_SYNC) will fail to flush the pages to disk.
-
Trond Myklebust authored
mounting. This should allow us to use AUTH_SYS credentials when mounting, (even when the user requests RPCSEC_GSS authentication) due to the hack described in RFC2623. Remove the broken NFS_INO_FAKE_ROOT hack.
-
Trond Myklebust authored
if NFSv4 is selected. Remove need for user to select SUNRPC_GSS, and the crypto options. Make NFSv3 a recommended option.
-
Trond Myklebust authored
is requested by the application (or memory pressure).
-
Trond Myklebust authored
longer relies on ctime for correctness in avoiding update races. VFS: allow filesystems to disable inode_update_time() on a per-inode basis.
-
Andrew Morton authored
From: Andi Kleen <ak@suse.de> This patch has been in the SuSE 2.4 kernel forever, but for some reason never made it mainline. It works around the infamous "only works stable when a mouse is plugged in" problem some AMD 768MPX Dual Athlon chipsets have. The problem happens because the chipset can hang when PCI prefetch strides from a RAM page into the VGA text buffer. When a PS2 mouse is plugged in the BIOS reserves a page before the VGA text buffer, which stops the prefetch early. This patch always reserves this page when the chipset could be AMD768MPX. This can be only done early in bootmem setup. Because it's difficult to scan the PCI bus that early it just always reserves this page when the CPU is an Athlon. Normally it should not make a difference because the BIOS will have reserved that page anyways when a PS/2 mouse is plugged in.
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> kernel parameters: raid=partitionable will make all auto-detected md arrays partitionable md=d.... will assemble an array as a partitionable array.
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> Use "shedule_timeout()" instead of yield() as it seems to wait for less time.
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> Make it clear that the reason we do wait_task_inactive is because kthread_bind frobs with k->thread_info->cpu, which is only legal because the task is definitely not running. We can't use the normal migration thread code here, because it doesn't let us bind to cpus which are offline yet, and also because we use this to start the migration threads themselves.
-
Andrew Morton authored
From: Arnd Bergmann <arnd@arndb.de> Dave Jones already removed some of the useless __KERNEL_SYSCALLS__ defines in various files, this gets rid of almost all the others. Replacing execve() is nontrivial, so I left those in for now. For all the other system calls that are currently used from inside the kernel, calling the sys_* function directly should always have an identical effect.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Distribute boot time memory allocations across all nodes, from Manfred Spraul. We want to spread memory across nodes to avoid all allocations ending up on node 0. Spreading boot time allocations around also helps us to avoid node 0 becoming the hot node. I took it for a spin: buddyinfo before: Node 7, 0 2 1 1 0 2 1 2 1 2 1 2 741 Node 6, 0 0 0 2 0 2 1 1 2 2 2 2 1002 Node 5, 0 0 0 2 0 2 1 2 1 2 2 2 2006 Node 4, 0 0 0 2 0 2 1 2 1 2 2 2 2006 Node 3, 0 0 0 2 0 2 1 2 1 2 2 2 2006 Node 2, 0 0 0 2 0 2 1 2 1 2 2 2 2006 Node 1, 0 0 0 2 0 2 1 1 2 2 2 2 1002 Node 0, 0 0 38 7 0 1 1 1 0 0 0 0 1998 buddyinfo after: Node 7, 0 1 0 1 1 1 1 0 0 0 1 2 738 Node 6, 0 1 0 1 1 1 0 1 0 0 2 2 1002 Node 5, 0 0 0 1 1 1 1 0 0 0 2 2 2006 Node 4, 0 1 0 1 0 1 1 0 0 0 2 2 2006 Node 3, 0 0 0 1 0 1 1 0 0 0 2 2 2005 Node 2, 0 1 0 0 0 0 0 1 0 0 2 2 2006 Node 1, 0 2 1 1 0 1 1 1 0 0 2 2 1002 Node 0, 0 20 45 8 3 0 1 1 1 1 0 1 2004 Change in free memory due to patch: Node 7 -54.08 MB Node 6 -6.33 MB Node 5 -6.09 MB Node 4 -6.14 MB Node 3 -22.15 MB Node 2 -6.05 MB Node 1 -6.12 MB Node 0 107.35 MB As you can see we gained over 100MB on node 0.
-
Andrew Morton authored
From: Kingsley Cheung <kingsley@aurema.com> A number of scheduler counters wrap around after 47 days. The context-switch counter can wrap around after considerably less time. Convert them to 64-bit values.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> The recent NUMA changes fail to compile with large cpumasks, we need to use a temporary to get around the type checking.
-
bk://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.5
-
- 12 Mar, 2004 3 commits
-
-
Jeff Garzik authored
* the scan-channels message seemed to always give invalid output. Look at the constant, and discover we are sending another message entirely. Fix the constant (CARM_MSG_IOCTL). * s/MISC_SYNC_TIME/MISC_SET_TIME/ * list some additional messages * bump version number
-
Scott Feldman authored
* Not setting cb->skb = NULL after releasing skb to OS or during initialization of cbs. Reported by Deepak Saxena [dsaxena@plexity.net].
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.5
-