Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186983
b: refs/heads/master
c: 604b2ad
h: refs/heads/master
i:
  186981: 2843370
  186979: 6881f4c
  186975: e180ac5
v: v3
  • Loading branch information
Amit Shah committed Mar 4, 2010
1 parent c51db51 commit 8eb3234
Show file tree
Hide file tree
Showing 1,576 changed files with 48,987 additions and 104,368 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: 322aafa6645a48c3b7837ca7385f126ab78127fd
refs/heads/master: 604b2ad7ccb11569d3b843bb1ce0fbe034e70769
1 change: 0 additions & 1 deletion trunk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ modules.builtin
#
tags
TAGS
linux
vmlinux
vmlinuz
System.map
Expand Down
7 changes: 0 additions & 7 deletions trunk/Documentation/ABI/stable/sysfs-devices-node

This file was deleted.

39 changes: 37 additions & 2 deletions trunk/Documentation/cdrom/ide-cd
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,42 @@ two arguments: the CDROM device, and the slot number to which you wish
to change. If the slot number is -1, the drive is unloaded.


4. Common problems
4. Compilation options
----------------------

There are a few additional options which can be set when compiling the
driver. Most people should not need to mess with any of these; they
are listed here simply for completeness. A compilation option can be
enabled by adding a line of the form `#define <option> 1' to the top
of ide-cd.c. All these options are disabled by default.

VERBOSE_IDE_CD_ERRORS
If this is set, ATAPI error codes will be translated into textual
descriptions. In addition, a dump is made of the command which
provoked the error. This is off by default to save the memory used
by the (somewhat long) table of error descriptions.

STANDARD_ATAPI
If this is set, the code needed to deal with certain drives which do
not properly implement the ATAPI spec will be disabled. If you know
your drive implements ATAPI properly, you can turn this on to get a
slightly smaller kernel.

NO_DOOR_LOCKING
If this is set, the driver will never attempt to lock the door of
the drive.

CDROM_NBLOCKS_BUFFER
This sets the size of the buffer to be used for a CDROMREADAUDIO
ioctl. The default is 8.

TEST
This currently enables an additional ioctl which enables a user-mode
program to execute an arbitrary packet command. See the source for
details. This should be left off unless you know what you're doing.


5. Common problems
------------------

This section discusses some common problems encountered when trying to
Expand Down Expand Up @@ -336,7 +371,7 @@ f. Data corruption.
expense of low system performance.


5. cdchange.c
6. cdchange.c
-------------

/*
Expand Down
207 changes: 0 additions & 207 deletions trunk/Documentation/cpu-freq/pcc-cpufreq.txt

This file was deleted.

44 changes: 0 additions & 44 deletions trunk/Documentation/device-mapper/snapshot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,47 +122,3 @@ volumeGroup-base: 0 2097152 snapshot-merge 254:11 254:12 P 16
brw------- 1 root root 254, 11 29 ago 18:15 /dev/mapper/volumeGroup-base-real
brw------- 1 root root 254, 12 29 ago 18:16 /dev/mapper/volumeGroup-base-cow
brw------- 1 root root 254, 10 29 ago 18:16 /dev/mapper/volumeGroup-base


How to determine when a merging is complete
===========================================
The snapshot-merge and snapshot status lines end with:
<sectors_allocated>/<total_sectors> <metadata_sectors>

Both <sectors_allocated> and <total_sectors> include both data and metadata.
During merging, the number of sectors allocated gets smaller and
smaller. Merging has finished when the number of sectors holding data
is zero, in other words <sectors_allocated> == <metadata_sectors>.

Here is a practical example (using a hybrid of lvm and dmsetup commands):

# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
base volumeGroup owi-a- 4.00g
snap volumeGroup swi-a- 1.00g base 18.97

# dmsetup status volumeGroup-snap
0 8388608 snapshot 397896/2097152 1560
^^^^ metadata sectors

# lvconvert --merge -b volumeGroup/snap
Merging of volume snap started.

# lvs volumeGroup/snap
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
base volumeGroup Owi-a- 4.00g 17.23

# dmsetup status volumeGroup-base
0 8388608 snapshot-merge 281688/2097152 1104

# dmsetup status volumeGroup-base
0 8388608 snapshot-merge 180480/2097152 712

# dmsetup status volumeGroup-base
0 8388608 snapshot-merge 16/2097152 16

Merging has finished.

# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
base volumeGroup owi-a- 4.00g
38 changes: 0 additions & 38 deletions trunk/Documentation/fault-injection/provoke-crashes.txt

This file was deleted.

Loading

0 comments on commit 8eb3234

Please sign in to comment.