]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.42 v2.5.42
Linus Torvalds [Fri, 11 Oct 2002 14:23:13 +0000 (07:23 -0700)]
Linux v2.5.42

22 years agoDeclare set_change_info() only if CONFIG_NFSD_V3 is enabled. It
Linus Torvalds [Fri, 11 Oct 2002 13:21:37 +0000 (06:21 -0700)]
Declare set_change_info() only if CONFIG_NFSD_V3 is enabled. It
uses fields that do not exist otherwise.

22 years ago[PATCH] Efficient bswab64 for i386
Andi Kleen [Fri, 11 Oct 2002 13:07:19 +0000 (06:07 -0700)]
[PATCH] Efficient bswab64 for i386

Due to some bugs in byteorder/generic.h linux would always use C handcoded
swab64 for 64bit ntohq or cpu_to_be64.  The C version is very inefficient
and expands to 30+ instructions of horrible code.

This hurts on filesystems that use on disk big endian data structures
with 64bit data types.

This patch adds an assembly optimized swab64 to fix it. Now bswab64 is
4 instructions when your CPU supports bswap and 9 when it doesn't.
Tests were done with gcc 3.2, may be different on older gcc.

This is good for ~600 bytes code size reduction in XFS (gcc 3.2):
Before:
 503199    3296    1682  508177   7c111 fs/xfs/xfs.o
After:
 502543    3296    1682  507521   7be81 fs/xfs/xfs.o

Also should be faster.

Also some minor cleanups in the file.

22 years agoMerge home.transmeta.com:/home/torvalds/v2.5/coda
Linus Torvalds [Fri, 11 Oct 2002 13:05:04 +0000 (06:05 -0700)]
Merge home.transmeta.com:/home/torvalds/v2.5/coda
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] Coda FS update
Jan Harkes [Fri, 11 Oct 2002 13:04:51 +0000 (06:04 -0700)]
[PATCH] Coda FS update

Most of these changes have been tested and used in the 2.4 tree, so this
is mostly a forward port of 2.4 bugfixes.

* C99 initializers
* Added specific initializations instead of assuming that the private
  part of the inode is already initialized.
* Remove unused code.
* Moved container file to the struct file private data, this is to
* correct the session semantics model when file updates are fetched from
* the server (old 'sessions' shouldn't see the new container yet).
* Fixed consistency (and occasional oopes) when mmap-ing Coda files.
* Fixing up inode numbers in readdir, old libc5 getcwd was broken.
* Nuked upcall_stats, all of this can easily be maintained in userspace,
  and the existing code suffers from overflows in the fixed point
  calculations.

22 years ago[PATCH] various fixes
Andrew Morton [Fri, 11 Oct 2002 13:03:05 +0000 (06:03 -0700)]
[PATCH] various fixes

- Fix some printk warnings in 3c59x.c (inl() now returns a long).

- ext3 warning fix from Stephen Hemminger: "__FUNCTION__ is a
  constant and gcc warns about passing it as a mutuable string."

- Fix a return-with-BKL-held in isofs_readdir()

- paride 64-bit sector_t fix (Bill Irwin)

22 years agoMerge http://linux-ntfs.bkbits.net/linux-2.5-ilookup
Linus Torvalds [Fri, 11 Oct 2002 13:02:29 +0000 (06:02 -0700)]
Merge http://linux-ntfs.bkbits.net/linux-2.5-ilookup
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] linux-2.5.41_cyclone-fixes_A1
John Stultz [Fri, 11 Oct 2002 13:01:21 +0000 (06:01 -0700)]
[PATCH] linux-2.5.41_cyclone-fixes_A1

This syncs up the cyclone-timer code w/ Greg's changes from this
morning.

22 years ago[PATCH] fix crash in yenta_bh() on card insertion/removal
Peter Chubb [Fri, 11 Oct 2002 12:59:50 +0000 (05:59 -0700)]
[PATCH] fix crash in yenta_bh() on card insertion/removal

In the current kernels, when a PCMCIA card is inserted into or
removed from a socket, the kernel oopses because yenta_bh() tries to
dereference a NULL pointer.

The attached patch initialises the argument to yenta_bh() so that this
doesn't happen.

22 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.eicon
Linus Torvalds [Fri, 11 Oct 2002 12:52:19 +0000 (05:52 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.eicon
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.isdn
Linus Torvalds [Fri, 11 Oct 2002 12:51:05 +0000 (05:51 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.isdn
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] improve NCR53c710 SCSI driver
Rolf Eike Beer [Fri, 11 Oct 2002 12:48:52 +0000 (05:48 -0700)]
[PATCH] improve NCR53c710 SCSI driver

22 years ago[PATCH] kNFSd: upcall/update for export tables
Neil Brown [Fri, 11 Oct 2002 12:40:34 +0000 (05:40 -0700)]
[PATCH] kNFSd: upcall/update for export tables

Add _request and _parse methods for nfsd.fh and
nfsd.exports tables.

nfsd.fh maps a filehandle-fragment to a path for a client,
and nfsd.exports maps a path to export options for a client.

22 years ago[PATCH] kNFSd: Impletement ip_map_parse to allow filling auth.unix.ip cache
Neil Brown [Fri, 11 Oct 2002 12:40:30 +0000 (05:40 -0700)]
[PATCH] kNFSd: Impletement ip_map_parse to allow filling auth.unix.ip cache

a message should be:
   nfsd 10.0.1.1 {Expirydate}  domainname

if domainname is empty, then this is a NEGATIVE entry: that
IP address will be deined access.

{Expirydate} is seconds since unix epoch.
e.g.  1036105199 for midnight, halloween.

22 years ago[PATCH] kNFSd: get_int and get_expiry to help in parsing.
Neil Brown [Fri, 11 Oct 2002 12:40:24 +0000 (05:40 -0700)]
[PATCH] kNFSd: get_int and get_expiry to help in parsing.

22 years ago[PATCH] kNFSd: Implement get_word to help in parsing cache updates
Neil Brown [Fri, 11 Oct 2002 12:40:19 +0000 (05:40 -0700)]
[PATCH] kNFSd: Implement get_word to help in parsing cache updates

get_word understands both \x and \012 quoting styles.

22 years ago[PATCH] kNFSd: Implement ip_map_request for upcalls
Neil Brown [Fri, 11 Oct 2002 12:40:14 +0000 (05:40 -0700)]
[PATCH] kNFSd: Implement ip_map_request for upcalls

This is the first upcall to actually be coded.
A request will look like:
   nfsd 127.0.0.1

22 years ago[PATCH] kNFSd: Provide generic code for making an upcall.
Neil Brown [Fri, 11 Oct 2002 12:40:10 +0000 (05:40 -0700)]
[PATCH] kNFSd: Provide generic code for making an upcall.

This code enhances 'cache_check' to try to initiate
an up-call if the cache entry is not up-to-date, and also
defines add_word and add_hex for formating up-call
requests.  See rpc-cache.txt for more detail.

22 years ago[PATCH] kNFSd: Create files: /proc/net/rpc/$CACHENAME/channel for communicating cache...
Neil Brown [Fri, 11 Oct 2002 12:40:05 +0000 (05:40 -0700)]
[PATCH] kNFSd: Create files: /proc/net/rpc/$CACHENAME/channel for communicating cache updates with kernel

Each cache gets it's own 'channel' at
  /proc/net/rpc/$CACHENAME/channel

Reads from the file will return all pending requests, one at a time.
select will block when at end of file.
writes will pass full lines in to be processed.

22 years ago[PATCH] kNFSd: Provide support for request deferral and revisit.
Neil Brown [Fri, 11 Oct 2002 12:40:00 +0000 (05:40 -0700)]
[PATCH] kNFSd: Provide support for request deferral and revisit.

cache.c gets code to allow a 'request' to be referred pending
an update of a cache item, and revisited when the item is
updates.

svcsock.c gets code to store the relevant part of a request on deferral, and
to re-queue it when the cache item that caused the deferral is
filled in.

22 years ago[PATCH] kNFSd: decode symlink inplace to avoid modifying request
Neil Brown [Fri, 11 Oct 2002 12:39:55 +0000 (05:39 -0700)]
[PATCH] kNFSd: decode symlink inplace to avoid modifying request

Rather than possibly modifying a request (as
xdr_decode_string can) we use xdr_decode_string_inplace
to symlink contents.  This string may not be nul terminated
(though it often is) so in the 'unlikely' event that is isn't
nul terminated, we copy it into a kmalloced space first.

It might be nice if vfs_symlink took a length, but then every
filesystem would have to as well....

22 years ago[PATCH] kNFSd: Don't over-write rpc request with response.
Neil Brown [Fri, 11 Oct 2002 12:39:50 +0000 (05:39 -0700)]
[PATCH] kNFSd: Don't over-write rpc request with response.

We are going to want rpc request to be immutable so that
we can take a copy and put it aside to be processed later.
Currently the tcp code writes the response into the same
buffer as the request, thus corrupting the request.
With this patch, the response goes after the request.  There should
always be enough room as large reqeusts (Write) has small
responses, and large responses (read) are for small requests.

buflen is changed for requests to record the length of the
request.  It already gets reset for each new request.

22 years ago[PATCH] kNFSd: Convert export-table to use new cache code
Neil Brown [Fri, 11 Oct 2002 12:39:46 +0000 (05:39 -0700)]
[PATCH] kNFSd: Convert export-table to use new cache code

This introduces two caches, svc_export_cache (nfsd.exports) and
svc_expkey_cache (nfsd.fh).
nfsd.exports maps client+directory  ->  export options.
nfsd.fh maps client + filehandle-fragment -> directory.

A major part of this change is that export entries are now reference counted,
so we have to be careful  to keep those counts correct.

22 years ago[PATCH] kNFSd: Open code exp_get and exp_get_fsid in the one place they are called.
Neil Brown [Fri, 11 Oct 2002 12:39:40 +0000 (05:39 -0700)]
[PATCH] kNFSd: Open code exp_get and exp_get_fsid in the one place they are called.

22 years ago[PATCH] kNFSd: exp_getclient, now just a small wrapper, goes in favour of auth_unix_l...
Neil Brown [Fri, 11 Oct 2002 12:39:35 +0000 (05:39 -0700)]
[PATCH] kNFSd: exp_getclient, now just a small wrapper, goes in favour of auth_unix_lookup

22 years ago[PATCH] kNFSd: Move auth domain lookup into svcauth
Neil Brown [Fri, 11 Oct 2002 12:39:30 +0000 (05:39 -0700)]
[PATCH] kNFSd: Move auth domain lookup into svcauth

Instead of doing the lookup from ipaddr to domain inside
the nfs server, (and also when lockd calls into nfsd) it is
now done at the rpc authentication level which is a more
sensible place for it.

Note that both AUTH_UNIX and AUTH_NULL do the same lookup.

So that the rpc layer knows that nfsd and lockd both uses the
name space of domains (while other hypothetical services may
not) we introduce a 'class' for each service which svc_auth combines
with the IP address when doing a lookup.

22 years ago[PATCH] kNFSd: Use new cache infrastructure for auth_unix specific lookups.
Neil Brown [Fri, 11 Oct 2002 12:39:25 +0000 (05:39 -0700)]
[PATCH] kNFSd: Use new cache infrastructure for auth_unix specific lookups.

This patch introduces two caches using the new infrastucture, and the
concept of a 'domain'.

A 'domain' refers to a collection of clients that all have the same
view of the nfs server, and all have the same access rights (modulo
different users on the clients).  For AUTH_UNIX (and AUTH_NULL), the
domain is determined from the IP address.  For other authentication
styles, the domain might be determined directly from the credentials.

Each auth flavour knows how to allocate and free it's domain-specific
infomation.

auth_domain_cache maps a name to a domain which is owned by
an auth flavour.

ip_map_cache is a cache specific to AUTH_UNIX which maps
IP address to domain.

With this patch, svcauth_unix.c is created to store all
auth_unix related code.

The IP address lookup code is removed from nfsd/exports.c

sunrpc module initilisation is moved out of stats.c into sunrpc_syms
which seemed to be the most central .c file.  It now registers these
two caches.

Now that the caches are being used, nfsd needs to call cache_clean
periodically.

22 years ago[PATCH] kNFSd: Initialial caching infrastructure for RPC authentication caches
Neil Brown [Fri, 11 Oct 2002 12:39:19 +0000 (05:39 -0700)]
[PATCH] kNFSd: Initialial caching infrastructure for RPC authentication caches

This patch provides a "virtual class" for defining caches
that make user-space information available in the kernel
It is intended for RPC services or clients that need user-space
support for authentication.

As yet, support for userspace interaction isn't included as I want
that to be able to have separate review.

22 years ago[PATCH] kNFSd: Tidy up the rpc authentication interface.
Neil Brown [Fri, 11 Oct 2002 12:39:15 +0000 (05:39 -0700)]
[PATCH] kNFSd: Tidy up the rpc authentication interface.

Define auth_ops that contains a method for authenticating a request and a
method for authorising a reply.  Call both methods as appropriate.

Also discard rq_verfed and cr_flavour, neither ever used.
And discard rq_auth as it isn't needed.

22 years ago[PATCH] kNFSd: Enable selection of NFSv4 server in configurator and Makefile
Neil Brown [Fri, 11 Oct 2002 12:34:48 +0000 (05:34 -0700)]
[PATCH] kNFSd: Enable selection of NFSv4 server in configurator and Makefile

22 years ago[PATCH] kNFSd: Giant patch importing NFSv4 server functionality
Neil Brown [Fri, 11 Oct 2002 12:34:43 +0000 (05:34 -0700)]
[PATCH] kNFSd: Giant patch importing NFSv4 server functionality

Now that all the hooks are in place, this large patch imports all
of the new code for the NFSv4 server.

This patch makes almost no changes to the existing nfsd codebase
(these have been taken care of by the preceding patches).

One aspect of the NFSv4 code deserves comment.  The most natural scheme
for processing a COMPOUND request would seem to be:
  1a. XDR decode phase, decode args of all operations
  2a. processing phase, process all operations
  3a. XDR encode phase, encode results of all operations

However, we use a scheme which works as follows:
  1b. XDR decode phase, decode args of all operations
  2b. For each operation,
        process the operation
        encode the result

To see what is wrong with the first scheme, consider a COMPOUND
of the form READ REMOVE.  Since the last bit of processing for
the READ request occurs in XDR encode, we might discover in step
3a that the READ request should return an error.  Therefore, the
REMOVE request should not be processed at all.  This is a fatal
problem, since the REMOVE was already been done in step 2a!

Another type of problem would occur in a COMPOUND of the form
READ WRITE.  Assume that both operations succeed.  Under scheme
(a), the WRITE is actually performed _before_ the READ (since
the "real" READ is really done during XDR encode).  This is
certainly incorrect if the READ and WRITE ranges overlap.

These examples might seem a little artificial, but nevertheless
it does seem that in order to process a COMPOUND correctly in
all cases, we need to use scheme (b) instead of scheme (a).

(To construct less artificial examples, just substitute GETATTR
 for READ in the examples above.  This works because the "real"
 GETATTR is done during XDR encode: one would really have to
 bend over backwards in order to arrange things otherwise.)

22 years ago[PATCH] kNFSd: Stub support for name lookup
Neil Brown [Fri, 11 Oct 2002 12:34:38 +0000 (05:34 -0700)]
[PATCH] kNFSd: Stub support for name lookup

NFSv4 need to be able to make from user/group name
to user/group id.  This include file contains some
simple stubs to do this.  They will be replaced with
something that really works later.

22 years ago[PATCH] kNFSd: ensure XDR buffer is large enough for NFSv4
Neil Brown [Fri, 11 Oct 2002 12:34:33 +0000 (05:34 -0700)]
[PATCH] kNFSd: ensure XDR buffer is large enough for NFSv4

This patch changes the 'xdrsize' parameter to svc_create(), to be
     NFS4_SVC_XDRSIZE   if v4 is defined
else NFS3_SVC_XDRSIZE   if v3 is defined
else NFS2_SVC_XDRSIZE     (formerly NFSSVC_XDRSIZE)

This always works, since
     NFS4_SVC_XDRSIZE >= NFS3_SVC_XDRSIZE >= NFS2_SVC_XDRSIZE.

The value of NFSD_BUFSIZE has also been moved to const.h, since we need
the definition available in nfs4proc.c

22 years ago[PATCH] kNFSd: New routine exp_pseudoroot() to find 'root' filehandle for nfsv4
Neil Brown [Fri, 11 Oct 2002 12:34:28 +0000 (05:34 -0700)]
[PATCH] kNFSd: New routine exp_pseudoroot() to find 'root' filehandle for nfsv4

NFSv4 has a concept of a 'root' filehandle (from which all other can
be found via LOOKUP, so no need for mountd).

This patch defines exp_pseudoroot(), which is used to set the filehandle
for the root of the pseudofs. The root is defined to be the export
point with fsid == 0.

22 years ago[PATCH] kNFSd: new routine fh_dup2()
Neil Brown [Fri, 11 Oct 2002 12:34:23 +0000 (05:34 -0700)]
[PATCH] kNFSd: new routine fh_dup2()

Define fh_dup2(), which copies a _verified_ filehandle, taking care
of refcounts accordingly.  (This will be used by RESTOREFH/SAVEFH and
a few other places.)

22 years ago[PATCH] kNFSd: Expand nfsd filehandle to 128 bytes.
Neil Brown [Fri, 11 Oct 2002 12:34:18 +0000 (05:34 -0700)]
[PATCH] kNFSd: Expand nfsd filehandle to 128 bytes.

22 years ago[PATCH] kNFSd: header file for NFSv4 XDR
Neil Brown [Fri, 11 Oct 2002 12:34:13 +0000 (05:34 -0700)]
[PATCH] kNFSd: header file for NFSv4 XDR

Instantiate a new file include/linux/nfsd/xdr4.h (server-side XDR for
NFSv4).

22 years ago[PATCH] kNFSd: pre-zero response for lockd _msg requests.
Neil Brown [Fri, 11 Oct 2002 12:30:54 +0000 (05:30 -0700)]
[PATCH] kNFSd: pre-zero response for lockd _msg requests.

All the lockd *_msg requests are implemented by
calling the equivalent non- *_msg request and sending off
the response as a new message (*_res).

For the non- *_msg requests, the response buffer is
pre-zeroed by the RPC layer, but the *_msg handlers weren't
pre-zeroing the buffer, would could in some circumstances lead to
an Oops.

Now we pre-zero them all.

22 years ago[PATCH] kNFSd: A couple of possible incorrect calls to dput....
Neil Brown [Fri, 11 Oct 2002 12:30:49 +0000 (05:30 -0700)]
[PATCH] kNFSd: A couple of possible incorrect calls to dput....

Thanks to Hirokazu Takahashi <taka@valinux.co.jp>

22 years ago[PATCH] kNFSd: Use correct value for max size for readlink response.
Neil Brown [Fri, 11 Oct 2002 12:30:44 +0000 (05:30 -0700)]
[PATCH] kNFSd: Use correct value for max size for readlink response.

Symlinks in NFSv3 can be upto 1024 bytes, not 256 like nfsv2.

22 years ago[PATCH] kNFSd: Remove the nfs-devel list from MAINTAINERS
Neil Brown [Fri, 11 Oct 2002 12:30:40 +0000 (05:30 -0700)]
[PATCH] kNFSd: Remove the nfs-devel list from MAINTAINERS

It only gets spam these days...

22 years agoMerge bk://linux-bt.bkbits.net/bt-2.5
Linus Torvalds [Fri, 11 Oct 2002 12:25:19 +0000 (05:25 -0700)]
Merge bk://linux-bt.bkbits.net/bt-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] C99 designated initializer for drivers/ide/pci
Luca Tettamanti [Fri, 11 Oct 2002 12:20:33 +0000 (05:20 -0700)]
[PATCH] C99 designated initializer for drivers/ide/pci

22 years ago[PATCH] C99 designated initializer for fs/affs
Luca Tettamanti [Fri, 11 Oct 2002 12:20:21 +0000 (05:20 -0700)]
[PATCH] C99 designated initializer for fs/affs

22 years ago[PATCH] C99 designated initializer for fs/jffs
Luca Tettamanti [Fri, 11 Oct 2002 12:20:16 +0000 (05:20 -0700)]
[PATCH] C99 designated initializer for fs/jffs

22 years ago[PATCH] C99 designated initializer for fs/coda
Luca Tettamanti [Fri, 11 Oct 2002 12:20:10 +0000 (05:20 -0700)]
[PATCH] C99 designated initializer for fs/coda

22 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Fri, 11 Oct 2002 12:18:23 +0000 (05:18 -0700)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge http://linux.bkbits.net/linux-2.5
Russell King [Sat, 12 Oct 2002 01:02:54 +0000 (02:02 +0100)]
Merge http://linux.bkbits.net/linux-2.5
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk

22 years ago[SERIAL] Fix serial.h/serialP.h ordering nightmare.
Russell King [Fri, 11 Oct 2002 16:41:02 +0000 (17:41 +0100)]
[SERIAL] Fix serial.h/serialP.h ordering nightmare.
Don't release NULL resources.

22 years ago[SERIAL] Fix oops when removing some PCI serial boards
Russell King [Fri, 11 Oct 2002 14:04:31 +0000 (15:04 +0100)]
[SERIAL] Fix oops when removing some PCI serial boards
Patch from William Lee Irwin II.

22 years ago[SERIAL] Fix uart_type compilation error when CONFIG_PROC_FS=n
Russell King [Fri, 11 Oct 2002 13:57:22 +0000 (14:57 +0100)]
[SERIAL] Fix uart_type compilation error when CONFIG_PROC_FS=n

22 years agoMerge cantab.net:/usr/src/bklinux-2.5
Anton Altaparmakov [Fri, 11 Oct 2002 10:49:50 +0000 (11:49 +0100)]
Merge cantab.net:/usr/src/bklinux-2.5
into cantab.net:/usr/src/linux-2.5-ilookup

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Fri, 11 Oct 2002 10:00:01 +0000 (03:00 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

A trivial loose end: add a 'lease_time' field to 'struct nfs_fsinfo'.

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Fri, 11 Oct 2002 09:59:52 +0000 (02:59 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

Now that all calls to nfs_async_handle_jukebox() have been moved to
fs/nfs/nfs3proc.c, we clean up by moving the nfs_async_jukebox() routine
itself there.  We also rename it nfs3_async_handle_jukebox(), to be
consistent with the naming conventions of that file.

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Fri, 11 Oct 2002 09:59:43 +0000 (02:59 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

In NFSv3, an RPC is retried if the special error NFSERR_JUKEBOX is
received.  This generic bit of postprocessing happens invisibly for
synchronous RPC's, but in the async case, the ->tk_exit callback
must call nfs_async_handle_jukebox() by hand.

In NFSv4, we also need generic postprocessing of async RPC's, but
the details are different.  Therefore, we don't want to call
nfs_async_handle_jukebox(); we want to call a different, NFSv4-specific
routine.  Therefore, we want to move calls to nfs_async_handle_jukebox()
out of the "generic" NFS code and into NFSv3-specific routines.  This
has already been done for async READ and WRITE in the preceding patches,
but there is still one outstanding case: the async REMOVE in sillyrename.

This patch removes nfs_async_handle_jukebox() from the async sillyrename
path, and puts in the NFSv3 ->unlink_done() rpc_op.

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Fri, 11 Oct 2002 09:59:34 +0000 (02:59 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

This is a nontrivial change to the NFS client.

This patch does for the async WRITE and COMMIT paths what patch 15
did for the async READ path, by defining new nfs_rpc_ops ->setup_write()
and ->setup_commit().

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Fri, 11 Oct 2002 09:59:24 +0000 (02:59 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

This is a nontrivial change to the NFS client.

This patch does for the async WRITE and COMMIT paths what patch 14
did for the async READ path, by changing 'struct nfs_write_data'
so that the v2- and v3-specific parts are moved into a private area,
with room for a v4-specific part in parallel.  None of the logic is
changed.

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Marcel Holtmann [Fri, 11 Oct 2002 09:55:12 +0000 (02:55 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/ua/repos/l/linux-bt/bt-2.5

22 years ago[PATCH] Disable Nagle algorithm for RPC over TCP.
Trond Myklebust [Fri, 11 Oct 2002 09:54:33 +0000 (02:54 -0700)]
[PATCH] Disable Nagle algorithm for RPC over TCP.

The Nagle algorithm gets in the way when sending short RPC messages to
the server. The following patch from Chuck does the equivalent of
setting TCP_NODELAY on the socket.

22 years ago[PATCH] Remove unbalanced kunmap() in NFS readdir code
Trond Myklebust [Fri, 11 Oct 2002 09:54:24 +0000 (02:54 -0700)]
[PATCH] Remove unbalanced kunmap() in NFS readdir code

The following seems to have survived the purge ..

22 years ago[PATCH] x86 uniproc compile fix
Andrew Morton [Fri, 11 Oct 2002 09:48:56 +0000 (02:48 -0700)]
[PATCH] x86 uniproc compile fix

Fix uniprocessor compilation.

do_timer.h needs asm/mpspec.h for the declaration of `using_apic_timer'

22 years ago[PATCH] Make the rest of the world happy with ips again
Doug Ledford [Fri, 11 Oct 2002 07:01:49 +0000 (00:01 -0700)]
[PATCH] Make the rest of the world happy with ips again

22 years ago[PATCH] aic7xxx_old update and a compile warning fix in scsi.c
Doug Ledford [Fri, 11 Oct 2002 07:01:38 +0000 (00:01 -0700)]
[PATCH] aic7xxx_old update and a compile warning fix in scsi.c

Rework lots of cruft in the aic7xxx_old driver so that it can be more
easily read and understood by other people and so it starts on the road
to giving a clearer picture of how to interact with the scsi mid layer.

22 years ago[PATCH] tcq fixes for the issue on linux-kernel
Doug Ledford [Fri, 11 Oct 2002 07:01:28 +0000 (00:01 -0700)]
[PATCH] tcq fixes for the issue on linux-kernel

This does 4 things.  Fixes the oversight James found about cmd_per_lun.
Makes scsi_adjust_queue_depth() implement the usage of tagged that I
described in my email to linux-scsi.  Updates some comments to highlight
things that are going to go away shortly.  Removes the call to
host->select_queue_depths() entirely since drivers that implement this
will try to set SDptr->queue_depth to the desired depth, which in reality
will do nothing but confuse the mid layer since that is now the actual
allocated command counter, so it won't make the mid layer allocate more
commands, it will make the mid layer think more commands have been
allocated.

22 years ago[PATCH] Updates for the scsi.h removal of device specific data from struct scsi_device
Doug Ledford [Fri, 11 Oct 2002 07:01:18 +0000 (00:01 -0700)]
[PATCH] Updates for the scsi.h removal of device specific data from struct scsi_device

22 years ago[PATCH] redo of scsi.h changes
Doug Ledford [Fri, 11 Oct 2002 07:01:08 +0000 (00:01 -0700)]
[PATCH] redo of scsi.h changes

Start removing items from scsi.h that are driver specific and provide a
patch to NCR53C9x.? that switches to driver private storage instead as
an example of how drivers should do private struct storage

22 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Fri, 11 Oct 2002 06:54:07 +0000 (23:54 -0700)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoAdd ethtool media support to smc91c92_cs net driver.
Zwane Mwaikambo [Fri, 11 Oct 2002 09:07:22 +0000 (05:07 -0400)]
Add ethtool media support to smc91c92_cs net driver.
Also fixes a bug when UTP port is unplugged.

22 years agoPrevent EFAULT errors when checking link status, in bonding net driver.
Jay Vosburgh [Fri, 11 Oct 2002 08:42:42 +0000 (04:42 -0400)]
Prevent EFAULT errors when checking link status, in bonding net driver.
Also some minor cleanups as well.

[This patch qualifies for the cavemen ugh-lympics, because the driver does
some really nasty things in interrupt context and this patch does
not correct that.  However, the patch is an incremental improvement
over the current code so it's still worth applying.  I'll fix it
further if IBM does not fix it first.  -jgarzik]

22 years agoe1000 net driver minor fixes/cleanups:
Jeb J. Cramer [Fri, 11 Oct 2002 07:57:59 +0000 (03:57 -0400)]
e1000 net driver minor fixes/cleanups:
* don't read PCI bus for values stored in struct pci_dev
* remove silly BUG() in e1000_sw_init, and
* return error from e1000_sw_init

22 years agoMerge http://gkernel.bkbits.net/irda-2.5
Linus Torvalds [Fri, 11 Oct 2002 06:53:05 +0000 (23:53 -0700)]
Merge http://gkernel.bkbits.net/irda-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoirda update 6/6:
Jean Tourrilhes [Fri, 11 Oct 2002 09:36:52 +0000 (05:36 -0400)]
irda update 6/6:
        o [CORRECT] Start timer before sending event to fix race condition
        o [FEATURE] Improve the IrLMP event debugging messages.

22 years agoirda update 5/6:
Jean Tourrilhes [Fri, 11 Oct 2002 09:34:33 +0000 (05:34 -0400)]
irda update 5/6:
        o [FEATURE] Fix some comments
        o [FEATURE] printk warning when we detect buggy QoS from peer
        o [CORRECT] Workaround NULL QoS bitfields
        o [CORRECT] Workaround oversized QoS bitfields
        o [FEATURE] Add sysctl "max_tx_window" to limit IrLAP Tx Window

22 years agoirda update 4/6:
Jean Tourrilhes [Fri, 11 Oct 2002 09:31:52 +0000 (05:31 -0400)]
irda update 4/6:
        o [FEATURE] Fix spelling UNITIALISED => UNINITIALISED
        o [CORRECT] Accept data from TTY before link initialisation
                This seems necessary to avoid chat (via pppd) dropping chars
        o [CRITICA] Remember allocated skb size to avoid to over-write it
        o [FEATURE] Remove  LM-IAS object once connected
        o [CORRECT] Avoid declaring link ready when it's not true

22 years agoirda update 3/6:
Jean Tourrilhes [Fri, 11 Oct 2002 09:29:15 +0000 (05:29 -0400)]
irda update 3/6:
        o [FEATURE] Export CRC16 helper so that drivers can use it

22 years agoirda update 2/6:
Jean Tourrilhes [Fri, 11 Oct 2002 09:26:41 +0000 (05:26 -0400)]
irda update 2/6:
                <Following patch from Martin Lucina & Christian Gennerat>
        o [FEATURE] Rewrite of the toshoboe driver using documentation
        o [FEATURE] Support Donau oboe chipsets.
        o [FEATURE] FIR support
        o [CORRECT] Probe chip before opening
        o [FEATURE] suspend/resume support
        o [FEATURE] Numerous other improvements/cleanups
        o [CORRECT] (me) Remove save_flags()/cli() for spinlock
                <Currently, we keep the old toshoboe driver around>
        o [FEATURE] Config.help for ma600 driver (unrelated ;-)

22 years agoirda update 1/6, big vlsi_ir driver update:
Jean Tourrilhes [Fri, 11 Oct 2002 09:22:51 +0000 (05:22 -0400)]
irda update 1/6, big vlsi_ir driver update:
                <Following patch from Martin Diehl>
        * merge+sync with changes from recent kernels: pci_[sg]et_drvdata,
          __devexit_p, netdev->last_rx, irda header cleanup
        * add netdev tx_timeout which re-initializes the whole thing
        * add power management support consistent with pci driver api
        * major rework of the ring descriptor operations
        * make correct usage of consistent and streaming pci dma api
        * nuke last virt_to_bus() and friends
        * support MIR/FIR highspeed interaction pulse (SIP)
        * review all paths for packet-size issues (rx and tx)
        * fix an old issue requiring hw powercycle caused by a race
          between IrLAP and hardware when switching _back_ to default
          speed at LAP disconnect. This was opened by the complete async
          behaviour of netdev->xmit but didn't happen before your latency
          improvements went into the stack.
        * add driver status readout under /proc/driver/vlsi_ir/irda%
          For 2.5, this will probably go into driverfs once things have
          stabilized.
        * fix potential deadlock in speed changing code
        * make identical driver working for both 2.4 and 2.5
        * add __attribute__((packed)) to hardware-exposed struct
        * add suggested pci_dma_prep_single() to flush cpu cache before
          streaming dma buffer gets reused for busmastering

22 years agoMerge luckyluke.devel.redhat.com:/mnt/cvs/BK/linus-2.5
Jeff Garzik [Fri, 11 Oct 2002 06:30:36 +0000 (02:30 -0400)]
Merge luckyluke.devel.redhat.com:/mnt/cvs/BK/linus-2.5
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5

22 years agoMerge bk://linux-input.bkbits.net/linux-input
Linus Torvalds [Fri, 11 Oct 2002 03:18:11 +0000 (20:18 -0700)]
Merge bk://linux-input.bkbits.net/linux-input
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input
Vojtech Pavlik [Fri, 11 Oct 2002 21:02:47 +0000 (23:02 +0200)]
Merge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input

22 years agoSince 2.5.32 the keyboard repeat code was broken.
Andries E. Brouwer [Fri, 11 Oct 2002 14:02:20 +0000 (16:02 +0200)]
Since 2.5.32 the keyboard repeat code was broken.
The reason Vojtech broke it was the stupid name of a field
in struct kbd_repeat, namely "rate".  Every sane person
expects that a rate has dimension [1/sec], but here the
"rate" is a time period measured in msec.

So, the patch below first of all fixes the code,
and secondly changes the name.
Since Vojtech used PERIOD as index, I also used period
as field name in the struct.

Half of the stuff below is actually from Alan Stern.

Andries

22 years agoMerge
Vojtech Pavlik [Fri, 11 Oct 2002 14:01:22 +0000 (16:01 +0200)]
Merge

22 years agoSeveral fixes in the uinput.c userspace input driver. Size of fifo,
Zach Welch [Fri, 11 Oct 2002 13:50:35 +0000 (15:50 +0200)]
Several fixes in the uinput.c userspace input driver. Size of fifo,
handling of flag bits, etc.

22 years agoFixes in i8042.c Active Multiplexing support.
Vojtech Pavlik [Fri, 11 Oct 2002 13:24:16 +0000 (15:24 +0200)]
Fixes in i8042.c Active Multiplexing support.

22 years agoMerge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input
Vojtech Pavlik [Fri, 11 Oct 2002 10:42:34 +0000 (12:42 +0200)]
Merge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input

22 years ago[PATCH] sched-2.5.41-A0
Ingo Molnar [Fri, 11 Oct 2002 03:05:46 +0000 (20:05 -0700)]
[PATCH] sched-2.5.41-A0

This fixes the scheduler's migration code to not disable preemption.  It
also fixes the bug that was hidden by the broken disable-preempt change:
the migration thread did not kick idle CPUs if a task is migrated to
them, which causes a hung boot when ksoftirqds are started.  It was pure
luck it worked until now, it was broken pretty much from day 1 on.

22 years ago[PATCH] fix NLS config.in
Anton Blanchard [Fri, 11 Oct 2002 01:49:04 +0000 (18:49 -0700)]
[PATCH] fix NLS config.in

Quick fix for CONFIG_NLS, add a missing space.

22 years agoMerge linux-isdn@linux-isdn.bkbits.net:linux-2.5.eicon
Armin Schindler [Thu, 10 Oct 2002 17:11:50 +0000 (12:11 -0500)]
Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.eicon
into melware.de:/home/kai/src/kernel/v2.5/linux-2.5.eicon

22 years agoISDN: Add new Eicon driver
Armin Schindler [Thu, 10 Oct 2002 17:09:15 +0000 (12:09 -0500)]
ISDN: Add new Eicon driver

Armin Schindler:

- Divas driver V2 for Eicon Networks DIVA-Server ISDN PCI cards,
  consists of 5 modules: internal link-module, main driver,
  capi-interpreter module, user interface module and maint-driver
  for debugging and logging.

22 years agoMerge http://linux.bkbits.net/linux-2.5
Kai Germaschewski [Thu, 10 Oct 2002 17:05:37 +0000 (12:05 -0500)]
Merge http://linux.bkbits.net/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5

22 years agoISDN: ref counting for isdn_net_local / isdn_net_dev
Kai Germaschewski [Thu, 10 Oct 2002 16:56:55 +0000 (11:56 -0500)]
ISDN: ref counting for isdn_net_local / isdn_net_dev

Make sure that we elevate the ref count for isdn_net_dev's in states
other than ST_NULL, so only after we get back to ST_NULL, our net_device
may be closed (only afterwards, the isdn_net_dev's could be deleted).

22 years agoISDN: Move binding the interface into state machine
Kai Germaschewski [Thu, 10 Oct 2002 16:39:52 +0000 (11:39 -0500)]
ISDN: Move binding the interface into state machine

Again, let's do as much as possible inside the state machine..

22 years agoISDN: Move generic bits from isdn_net_lib to isdn_common
Kai Germaschewski [Thu, 10 Oct 2002 16:15:18 +0000 (11:15 -0500)]
ISDN: Move generic bits from isdn_net_lib to isdn_common

o When accepting an incoming call, leave it to the common code to set
  usage, numbers etc.
o Make USAGE_EXCLUSIVE just another flag when getting / accepting
  a channel, getting rid of some special case code.
o No need to pass the current usage when freeing a channel

22 years agoISDN: Accept incoming calls and do callback in the state machine
Kai Germaschewski [Thu, 10 Oct 2002 15:37:12 +0000 (10:37 -0500)]
ISDN: Accept incoming calls and do callback in the state machine

Moving as much as possible into the state machine, which should eventually
simplify things.

22 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5
Kai Germaschewski [Thu, 10 Oct 2002 15:24:13 +0000 (10:24 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5.isdn

22 years agoSupport multiple cards in ewrk3 net driver
Jeff Garzik [Thu, 10 Oct 2002 12:58:03 +0000 (08:58 -0400)]
Support multiple cards in ewrk3 net driver
(contributed by Adam Kropelin)

22 years agoISDN: race-free incoming call handling
Kai Germaschewski [Thu, 10 Oct 2002 12:45:44 +0000 (07:45 -0500)]
ISDN: race-free incoming call handling

Move the incoming call handling from isdn_net.c to isdn_net_lib.c.
We use a spinlock protected list for finding a matching device on incoming
calls, making sure that a concurrent net_device::close() cannot corrupt
the list under us or destroy the isdn_net_dev before its ref count hits
zero.

Also, remove superfluous #ifdefs from isdn_concap.c

22 years agoAdd ethtool media support to 3c509 net driver
Zwane Mwaikambo [Thu, 10 Oct 2002 12:06:25 +0000 (08:06 -0400)]
Add ethtool media support to 3c509 net driver

22 years ago[netdrvr] Use ADVERTISE_FULL in mii lib, to clean up duplex check
Jeff Garzik [Thu, 10 Oct 2002 11:19:36 +0000 (07:19 -0400)]
[netdrvr] Use ADVERTISE_FULL in mii lib, to clean up duplex check

22 years agoMerge
Vojtech Pavlik [Thu, 10 Oct 2002 11:08:07 +0000 (13:08 +0200)]
Merge