Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84907
b: refs/heads/master
c: 923dd2a
h: refs/heads/master
i:
  84905: 495bbff
  84903: d609035
v: v3
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent 88071f1 commit 5a1ef14
Show file tree
Hide file tree
Showing 801 changed files with 8,482 additions and 40,228 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 03054de1e0b90b33e9974107d84dabd2509f5898
refs/heads/master: 923dd2a46349bb1bb94aa894b7ff61093618d68a
22 changes: 0 additions & 22 deletions trunk/Documentation/ABI/testing/procfs-diskstats

This file was deleted.

28 changes: 0 additions & 28 deletions trunk/Documentation/ABI/testing/sysfs-block

This file was deleted.

6 changes: 3 additions & 3 deletions trunk/Documentation/accounting/getdelays.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ int get_family_id(int sd)
char buf[256];
} ans;

int id = 0, rc;
int id, rc;
struct nlattr *na;
int rep_len;

Expand Down Expand Up @@ -209,7 +209,7 @@ void print_delayacct(struct taskstats *t)
void task_context_switch_counts(struct taskstats *t)
{
printf("\n\nTask %15s%15s\n"
" %15llu%15llu\n",
" %15lu%15lu\n",
"voluntary", "nonvoluntary",
t->nvcsw, t->nivcsw);
}
Expand Down Expand Up @@ -399,7 +399,7 @@ int main(int argc, char *argv[])
goto done;
}

PRINTF("nlmsghdr size=%zu, nlmsg_len=%d, rep_len=%d\n",
PRINTF("nlmsghdr size=%d, nlmsg_len=%d, rep_len=%d\n",
sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len);


Expand Down
2 changes: 0 additions & 2 deletions trunk/Documentation/aoe/mkdevs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ rm -f $dir/interfaces
mknod -m 0200 $dir/interfaces c $MAJOR 4
rm -f $dir/revalidate
mknod -m 0200 $dir/revalidate c $MAJOR 5
rm -f $dir/flush
mknod -m 0200 $dir/flush c $MAJOR 6

export n_partitions
mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'`
Expand Down
5 changes: 1 addition & 4 deletions trunk/Documentation/aoe/udev-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ fi
# /etc/udev/rules.d
#
rules_d="`sed -n '/^udev_rules=/{ s!udev_rules=!!; s!\"!!g; p; }' $conf`"
if test -z "$rules_d" ; then
rules_d=/etc/udev/rules.d
fi
if test ! -d "$rules_d"; then
if test -z "$rules_d" || test ! -d "$rules_d"; then
echo "$me Error: cannot find udev rules directory" 1>&2
exit 1
fi
Expand Down
16 changes: 7 additions & 9 deletions trunk/Documentation/aoe/udev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# These rules tell udev what device nodes to create for aoe support.
# They may be installed along the following lines. Check the section
# 8 udev manpage to see whether your udev supports SUBSYSTEM, and
# whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
# They may be installed along the following lines (adjusted to what
# you see on your system).
#
# ecashin@makki ~$ su
# Password:
Expand All @@ -16,11 +15,10 @@
#

# aoe char devices
SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440"
SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM="aoe", KERNEL="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM="aoe", KERNEL="err", NAME="etherd/%k", GROUP="disk", MODE="0440"
SUBSYSTEM="aoe", KERNEL="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM="aoe", KERNEL="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"

# aoe block devices
KERNEL=="etherd*", NAME="%k", GROUP="disk"
KERNEL="etherd*", NAME="%k", GROUP="disk"
19 changes: 19 additions & 0 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@ Who: Eric Biederman <ebiederm@xmission.com>

---------------------------

What: a.out interpreter support for ELF executables
When: 2.6.25
Files: fs/binfmt_elf.c
Why: Using a.out interpreters for ELF executables was a feature for
transition from a.out to ELF. But now it is unlikely to be still
needed anymore and removing it would simplify the hairy ELF
loader code.
Who: Andi Kleen <ak@suse.de>

---------------------------

What: remove EXPORT_SYMBOL(kernel_thread)
When: August 2006
Files: arch/*/kernel/*_ksyms.c
Expand Down Expand Up @@ -181,6 +192,14 @@ Who: Len Brown <len.brown@intel.com>

---------------------------

What: 'time' kernel boot parameter
When: January 2008
Why: replaced by 'printk.time=<value>' so that printk timestamps can be
enabled or disabled as needed
Who: Randy Dunlap <randy.dunlap@oracle.com>

---------------------------

What: libata spindown skipping and warning
When: Dec 2008
Why: Some halt(8) implementations synchronize caches for and spin
Expand Down
1 change: 0 additions & 1 deletion trunk/Documentation/filesystems/isofs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Mount options unique to the isofs filesystem.
map=normal Map non-Rock Ridge filenames to lower case
map=acorn As map=normal but also apply Acorn extensions if present
mode=xxx Sets the permissions on files to xxx
dmode=xxx Sets the permissions on directories to xxx
nojoliet Ignore Joliet extensions if they are present.
norock Ignore Rock Ridge extensions if they are present.
hide Completely strip hidden files from the file system.
Expand Down
50 changes: 3 additions & 47 deletions trunk/Documentation/filesystems/vfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The get_sb() method has the following arguments:
const char *dev_name: the device name we are mounting.

void *data: arbitrary mount options, usually comes as an ASCII
string (see "Mount Options" section)
string

struct vfsmount *mnt: a vfs-internal representation of a mount point

Expand Down Expand Up @@ -182,7 +182,7 @@ A fill_super() method implementation has the following arguments:
must initialize this properly.

void *data: arbitrary mount options, usually comes as an ASCII
string (see "Mount Options" section)
string

int silent: whether or not to be silent on error

Expand Down Expand Up @@ -291,8 +291,7 @@ or bottom half).

umount_begin: called when the VFS is unmounting a filesystem.

show_options: called by the VFS to show mount options for
/proc/<pid>/mounts. (see "Mount Options" section)
show_options: called by the VFS to show mount options for /proc/<pid>/mounts.

quota_read: called by the VFS to read from filesystem quota file.

Expand Down Expand Up @@ -970,49 +969,6 @@ manipulate dentries:
For further information on dentry locking, please refer to the document
Documentation/filesystems/dentry-locking.txt.

Mount Options
=============

Parsing options
---------------

On mount and remount the filesystem is passed a string containing a
comma separated list of mount options. The options can have either of
these forms:

option
option=value

The <linux/parser.h> header defines an API that helps parse these
options. There are plenty of examples on how to use it in existing
filesystems.

Showing options
---------------

If a filesystem accepts mount options, it must define show_options()
to show all the currently active options. The rules are:

- options MUST be shown which are not default or their values differ
from the default

- options MAY be shown which are enabled by default or have their
default value

Options used only internally between a mount helper and the kernel
(such as file descriptors), or which only have an effect during the
mounting (such as ones controlling the creation of a journal) are exempt
from the above rules.

The underlying reason for the above rules is to make sure, that a
mount can be accurately replicated (e.g. umounting and mounting again)
based on the information found in /proc/mounts.

A simple method of saving options at mount/remount time and showing
them is provided with the save_mount_options() and
generic_show_options() helper functions. Please note, that using
these may have drawbacks. For more info see header comments for these
functions in fs/namespace.c.

Resources
=========
Expand Down
15 changes: 1 addition & 14 deletions trunk/Documentation/iostats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ they should not wrap twice before you notice them.
Each set of stats only applies to the indicated device; if you want
system-wide stats you'll have to find all the devices and sum them all up.

Field 1 -- # of reads completed
Field 1 -- # of reads issued
This is the total number of reads completed successfully.
Field 2 -- # of reads merged, field 6 -- # of writes merged
Reads and writes which are adjacent to each other may be merged for
Expand Down Expand Up @@ -132,19 +132,6 @@ words, the number of reads for partitions is counted slightly before time
of queuing for partitions, and at completion for whole disks. This is
a subtle distinction that is probably uninteresting for most cases.

More significant is the error induced by counting the numbers of
reads/writes before merges for partitions and after for disks. Since a
typical workload usually contains a lot of successive and adjacent requests,
the number of reads/writes issued can be several times higher than the
number of reads/writes completed.

In 2.6.25, the full statistic set is again available for partitions and
disk and partition statistics are consistent again. Since we still don't
keep record of the partition-relative address, an operation is attributed to
the partition which contains the first sector of the request after the
eventual merges. As requests can be merged across partition, this could lead
to some (probably insignificant) innacuracy.

Additional notes
----------------

Expand Down
3 changes: 3 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1973,6 +1973,9 @@ and is between 256 and 4096 characters. It is defined in the file
<deci-seconds>: poll all this frequency
0: no polling (default)

time Show timing data prefixed to each printk message line
[deprecated, see 'printk.time']

tipar.timeout= [HW,PPT]
Set communications timeout in tenths of a second
(default 15).
Expand Down
Loading

0 comments on commit 5a1ef14

Please sign in to comment.