Ben Collins [Sat, 6 Apr 2002 00:36:43 +0000 (16:36 -0800)]
[PATCH] IEEE-1394 Updates
ieee1394 updates:
- New drivers: eth1394, admtp
- nodemgr cleanup
- Fixes for ohci
- fixed for node probes
- small misc performance fixes
- New /proc interface for subsystem, node listing, and dv1394
Andrew Morton [Sat, 6 Apr 2002 00:32:52 +0000 (16:32 -0800)]
[PATCH] ->setattr() locking changes
ext3 was missed - the removal of the BKL in notify_change
means that the filesytem fails quite quickly on SMP in -pre2.
Sorry, I should have spotted that when the patch floated past.
Neil Brown [Fri, 5 Apr 2002 07:11:29 +0000 (23:11 -0800)]
[PATCH] PATCH 3 of 4 : knfsd : Store the fsid in the returned attributes instead of the device number
When a filesystem is exported with fsid= we should use that
fsid instead of the i_dev number when returning NFS attributes,
so that there is no chance of clients that depend on the filesys
id in the attributes getting confused by device numbers changing.
We only do this if the reference filehandle uses fsid to identify
the filesystem, so that a server can be converted from non-fsid= to
using fsid= without confusing active clients.
Neil Brown [Fri, 5 Apr 2002 07:11:22 +0000 (23:11 -0800)]
[PATCH] PATCH 2 of 4 : knfsd : Allow exporting of deviceless filesystems if fsid= given
Previously we could only export FS_REQUIRES_DEV filesystems
as we need a devno to put in the filehandle.
Now that we have fsid= (NFSEXP_FSID) we don't need a devno
to put in the filehandle so we can relax this requirement.
Neil Brown [Fri, 5 Apr 2002 07:11:15 +0000 (23:11 -0800)]
[PATCH] PATCH 1 of 4 : knfsd : Use symbols for size calculation for response sizes.
Use symbolic names for some common size components in the response
size calculation for the NFSD. This makes it easier to get the
numbers right and to review them.
This patch also fixes a few number for nfsv3 that were wrong.
Lets just kill this check -- it usually only catches drivers queueing
something in front of a started request on their own (such as shoving a
request sense in front of a failed packet command, for instance). So
it's either working around this detection in some drivers, or killing
it. I vote for the latter, patch attached against 2.5.8-pre1 :-)
Robert Love [Thu, 4 Apr 2002 09:25:22 +0000 (01:25 -0800)]
[PATCH] preemptive kernel behavior change: don't be rude
- do not manually set task->state
- instead, in preempt_schedule, set a flag in preempt_count that
denotes that this task is entering schedule off a kernel preemption.
- use this flag in schedule to jump to pick_next_task
- in preempt_schedule, upon return from schedule, unset the flag
- have entry.S just call preempt_schedule and not duplicate this work,
as Linus suggested. I agree. Note this makes debugging easier as
we keep a single point of entry for kernel preemptions.
The result: we can safely preempt non-TASK_RUNNING tasks. If one is
preempted, we can safely survive schedule because we won't handle the
special casing of non-TASK_RUNNING at the top of schedule. Thus other
tasks can run as desired and our non-TASK_RUNNING task will eventually
be rescheduled, in its original state, and complete happily.
This is the behavior we have in the 2.4 patches and 2.5 until
~2.5.6-pre. This works. It requires no other changes elsewhere (it
actually removes some special-casing Ingo did in the signal code).
moved files to different subdirectories to make try to make sense
of the current mess, and to allow usb client drivers to integrate into
the tree easier.
Dave Jones [Thu, 4 Apr 2002 06:23:21 +0000 (22:23 -0800)]
[PATCH] Improved allocator for NTFS
Originally by Anton Altaparmakov.
I think Anton is going to submit his rewritten NTFS soon making this null and void,
but in the interim, it fixes a known problem with NTFS and large allocations.
Robert Love [Thu, 4 Apr 2002 03:24:52 +0000 (19:24 -0800)]
[PATCH] kjournald exits with nonzero preempt_count
The preempt_count debug check that went into 2.5.8-pre1 already caught a
simple case in kjournald. Specifically, kjournald does not drop the BKL
when it exits as it knows schedule will do so for it.
For the sake of clarity and exiting with a preempt_count of zero, the
attached patch explicitly calls unlock_kernel when kjournald is exiting.
Eli Kupermann [Thu, 4 Apr 2002 01:19:38 +0000 (20:19 -0500)]
e100 net driver update 1/3:
The patch separates max busy wait constants making in max of 100 usec for
wait scb and max of 50 usec for wait cus idle. These constants found
sufficient using heavy traffic tests.