summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-18 10:47:10 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-15 10:03:01 -0400
commite7751617dd0599ceadf4221cb08e04307b00aa1f (patch)
tree16b7a5858f6b4c641e3346e2438f83df49ababa7
parent330d48105245abfb8c9ca491dc53ea500657217a (diff)
docs: blockdev: add it to the admin-guide
The blockdev book basically contains user-faced documentation. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--Documentation/admin-guide/blockdev/drbd/DRBD-8.3-data-packets.svg (renamed from Documentation/blockdev/drbd/DRBD-8.3-data-packets.svg)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/DRBD-data-packets.svg (renamed from Documentation/blockdev/drbd/DRBD-data-packets.svg)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/conn-states-8.dot (renamed from Documentation/blockdev/drbd/conn-states-8.dot)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/data-structure-v9.rst (renamed from Documentation/blockdev/drbd/data-structure-v9.rst)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/disk-states-8.dot (renamed from Documentation/blockdev/drbd/disk-states-8.dot)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/drbd-connection-state-overview.dot (renamed from Documentation/blockdev/drbd/drbd-connection-state-overview.dot)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/figures.rst (renamed from Documentation/blockdev/drbd/figures.rst)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/index.rst (renamed from Documentation/blockdev/drbd/index.rst)0
-rw-r--r--Documentation/admin-guide/blockdev/drbd/node-states-8.dot (renamed from Documentation/blockdev/drbd/node-states-8.dot)1
-rw-r--r--Documentation/admin-guide/blockdev/floppy.rst (renamed from Documentation/blockdev/floppy.rst)0
-rw-r--r--Documentation/admin-guide/blockdev/index.rst (renamed from Documentation/blockdev/index.rst)2
-rw-r--r--Documentation/admin-guide/blockdev/nbd.rst (renamed from Documentation/blockdev/nbd.rst)0
-rw-r--r--Documentation/admin-guide/blockdev/paride.rst (renamed from Documentation/blockdev/paride.rst)0
-rw-r--r--Documentation/admin-guide/blockdev/ramdisk.rst (renamed from Documentation/blockdev/ramdisk.rst)0
-rw-r--r--Documentation/admin-guide/blockdev/zram.rst (renamed from Documentation/blockdev/zram.rst)0
-rw-r--r--Documentation/admin-guide/index.rst1
-rw-r--r--Documentation/admin-guide/kernel-parameters.txt18
-rw-r--r--MAINTAINERS10
-rw-r--r--drivers/block/Kconfig8
-rw-r--r--drivers/block/floppy.c2
-rw-r--r--drivers/block/zram/Kconfig6
-rw-r--r--tools/testing/selftests/zram/README2
22 files changed, 24 insertions, 26 deletions
diff --git a/Documentation/blockdev/drbd/DRBD-8.3-data-packets.svg b/Documentation/admin-guide/blockdev/drbd/DRBD-8.3-data-packets.svg
index f87cfa0dc2fb..f87cfa0dc2fb 100644
--- a/Documentation/blockdev/drbd/DRBD-8.3-data-packets.svg
+++ b/Documentation/admin-guide/blockdev/drbd/DRBD-8.3-data-packets.svg
diff --git a/Documentation/blockdev/drbd/DRBD-data-packets.svg b/Documentation/admin-guide/blockdev/drbd/DRBD-data-packets.svg
index 48a1e2165fec..48a1e2165fec 100644
--- a/Documentation/blockdev/drbd/DRBD-data-packets.svg
+++ b/Documentation/admin-guide/blockdev/drbd/DRBD-data-packets.svg
diff --git a/Documentation/blockdev/drbd/conn-states-8.dot b/Documentation/admin-guide/blockdev/drbd/conn-states-8.dot
index 025e8cf5e64a..025e8cf5e64a 100644
--- a/Documentation/blockdev/drbd/conn-states-8.dot
+++ b/Documentation/admin-guide/blockdev/drbd/conn-states-8.dot
diff --git a/Documentation/blockdev/drbd/data-structure-v9.rst b/Documentation/admin-guide/blockdev/drbd/data-structure-v9.rst
index 66036b901644..66036b901644 100644
--- a/Documentation/blockdev/drbd/data-structure-v9.rst
+++ b/Documentation/admin-guide/blockdev/drbd/data-structure-v9.rst
diff --git a/Documentation/blockdev/drbd/disk-states-8.dot b/Documentation/admin-guide/blockdev/drbd/disk-states-8.dot
index d06cfb46fb98..d06cfb46fb98 100644
--- a/Documentation/blockdev/drbd/disk-states-8.dot
+++ b/Documentation/admin-guide/blockdev/drbd/disk-states-8.dot
diff --git a/Documentation/blockdev/drbd/drbd-connection-state-overview.dot b/Documentation/admin-guide/blockdev/drbd/drbd-connection-state-overview.dot
index 6d9cf0a7b11d..6d9cf0a7b11d 100644
--- a/Documentation/blockdev/drbd/drbd-connection-state-overview.dot
+++ b/Documentation/admin-guide/blockdev/drbd/drbd-connection-state-overview.dot
diff --git a/Documentation/blockdev/drbd/figures.rst b/Documentation/admin-guide/blockdev/drbd/figures.rst
index 3e3fd4b8a478..3e3fd4b8a478 100644
--- a/Documentation/blockdev/drbd/figures.rst
+++ b/Documentation/admin-guide/blockdev/drbd/figures.rst
diff --git a/Documentation/blockdev/drbd/index.rst b/Documentation/admin-guide/blockdev/drbd/index.rst
index 68ecd5c113e9..68ecd5c113e9 100644
--- a/Documentation/blockdev/drbd/index.rst
+++ b/Documentation/admin-guide/blockdev/drbd/index.rst
diff --git a/Documentation/blockdev/drbd/node-states-8.dot b/Documentation/admin-guide/blockdev/drbd/node-states-8.dot
index 4a2b00c23547..bfa54e1f8016 100644
--- a/Documentation/blockdev/drbd/node-states-8.dot
+++ b/Documentation/admin-guide/blockdev/drbd/node-states-8.dot
@@ -11,4 +11,3 @@ digraph peer_states {
11 Unknown -> Primary [ label = "connected" ] 11 Unknown -> Primary [ label = "connected" ]
12 Unknown -> Secondary [ label = "connected" ] 12 Unknown -> Secondary [ label = "connected" ]
13} 13}
14
diff --git a/Documentation/blockdev/floppy.rst b/Documentation/admin-guide/blockdev/floppy.rst
index 4a8f31cf4139..4a8f31cf4139 100644
--- a/Documentation/blockdev/floppy.rst
+++ b/Documentation/admin-guide/blockdev/floppy.rst
diff --git a/Documentation/blockdev/index.rst b/Documentation/admin-guide/blockdev/index.rst
index a9af6ed8b4aa..20a738d9d047 100644
--- a/Documentation/blockdev/index.rst
+++ b/Documentation/admin-guide/blockdev/index.rst
@@ -1,5 +1,3 @@
1:orphan:
2
3=========================== 1===========================
4The Linux RapidIO Subsystem 2The Linux RapidIO Subsystem
5=========================== 3===========================
diff --git a/Documentation/blockdev/nbd.rst b/Documentation/admin-guide/blockdev/nbd.rst
index d78dfe559dcf..d78dfe559dcf 100644
--- a/Documentation/blockdev/nbd.rst
+++ b/Documentation/admin-guide/blockdev/nbd.rst
diff --git a/Documentation/blockdev/paride.rst b/Documentation/admin-guide/blockdev/paride.rst
index 87b4278bf314..87b4278bf314 100644
--- a/Documentation/blockdev/paride.rst
+++ b/Documentation/admin-guide/blockdev/paride.rst
diff --git a/Documentation/blockdev/ramdisk.rst b/Documentation/admin-guide/blockdev/ramdisk.rst
index b7c2268f8dec..b7c2268f8dec 100644
--- a/Documentation/blockdev/ramdisk.rst
+++ b/Documentation/admin-guide/blockdev/ramdisk.rst
diff --git a/Documentation/blockdev/zram.rst b/Documentation/admin-guide/blockdev/zram.rst
index 6eccf13219ff..6eccf13219ff 100644
--- a/Documentation/blockdev/zram.rst
+++ b/Documentation/admin-guide/blockdev/zram.rst
diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst
index 5b63182ceb5f..9228fbf5ce4e 100644
--- a/Documentation/admin-guide/index.rst
+++ b/Documentation/admin-guide/index.rst
@@ -73,6 +73,7 @@ configure specific aspects of kernel behavior to your liking.
73 java 73 java
74 ras 74 ras
75 bcache 75 bcache
76 blockdev/index
76 ext4 77 ext4
77 binderfs 78 binderfs
78 pm/index 79 pm/index
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index e645b3ab4b6f..78576aa45cce 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -1249,7 +1249,7 @@
1249 See also Documentation/fault-injection/. 1249 See also Documentation/fault-injection/.
1250 1250
1251 floppy= [HW] 1251 floppy= [HW]
1252 See Documentation/blockdev/floppy.rst. 1252 See Documentation/admin-guide/blockdev/floppy.rst.
1253 1253
1254 force_pal_cache_flush 1254 force_pal_cache_flush
1255 [IA-64] Avoid check_sal_cache_flush which may hang on 1255 [IA-64] Avoid check_sal_cache_flush which may hang on
@@ -2234,7 +2234,7 @@
2234 memblock=debug [KNL] Enable memblock debug messages. 2234 memblock=debug [KNL] Enable memblock debug messages.
2235 2235
2236 load_ramdisk= [RAM] List of ramdisks to load from floppy 2236 load_ramdisk= [RAM] List of ramdisks to load from floppy
2237 See Documentation/blockdev/ramdisk.rst. 2237 See Documentation/admin-guide/blockdev/ramdisk.rst.
2238 2238
2239 lockd.nlm_grace_period=P [NFS] Assign grace period. 2239 lockd.nlm_grace_period=P [NFS] Assign grace period.
2240 Format: <integer> 2240 Format: <integer>
@@ -3268,7 +3268,7 @@
3268 3268
3269 pcd. [PARIDE] 3269 pcd. [PARIDE]
3270 See header of drivers/block/paride/pcd.c. 3270 See header of drivers/block/paride/pcd.c.
3271 See also Documentation/blockdev/paride.rst. 3271 See also Documentation/admin-guide/blockdev/paride.rst.
3272 3272
3273 pci=option[,option...] [PCI] various PCI subsystem options. 3273 pci=option[,option...] [PCI] various PCI subsystem options.
3274 3274
@@ -3512,7 +3512,7 @@
3512 needed on a platform with proper driver support. 3512 needed on a platform with proper driver support.
3513 3513
3514 pd. [PARIDE] 3514 pd. [PARIDE]
3515 See Documentation/blockdev/paride.rst. 3515 See Documentation/admin-guide/blockdev/paride.rst.
3516 3516
3517 pdcchassis= [PARISC,HW] Disable/Enable PDC Chassis Status codes at 3517 pdcchassis= [PARISC,HW] Disable/Enable PDC Chassis Status codes at
3518 boot time. 3518 boot time.
@@ -3527,10 +3527,10 @@
3527 and performance comparison. 3527 and performance comparison.
3528 3528
3529 pf. [PARIDE] 3529 pf. [PARIDE]
3530 See Documentation/blockdev/paride.rst. 3530 See Documentation/admin-guide/blockdev/paride.rst.
3531 3531
3532 pg. [PARIDE] 3532 pg. [PARIDE]
3533 See Documentation/blockdev/paride.rst. 3533 See Documentation/admin-guide/blockdev/paride.rst.
3534 3534
3535 pirq= [SMP,APIC] Manual mp-table setup 3535 pirq= [SMP,APIC] Manual mp-table setup
3536 See Documentation/x86/i386/IO-APIC.rst. 3536 See Documentation/x86/i386/IO-APIC.rst.
@@ -3642,7 +3642,7 @@
3642 3642
3643 prompt_ramdisk= [RAM] List of RAM disks to prompt for floppy disk 3643 prompt_ramdisk= [RAM] List of RAM disks to prompt for floppy disk
3644 before loading. 3644 before loading.
3645 See Documentation/blockdev/ramdisk.rst. 3645 See Documentation/admin-guide/blockdev/ramdisk.rst.
3646 3646
3647 psi= [KNL] Enable or disable pressure stall information 3647 psi= [KNL] Enable or disable pressure stall information
3648 tracking. 3648 tracking.
@@ -3664,7 +3664,7 @@
3664 pstore.backend= Specify the name of the pstore backend to use 3664 pstore.backend= Specify the name of the pstore backend to use
3665 3665
3666 pt. [PARIDE] 3666 pt. [PARIDE]
3667 See Documentation/blockdev/paride.rst. 3667 See Documentation/admin-guide/blockdev/paride.rst.
3668 3668
3669 pti= [X86_64] Control Page Table Isolation of user and 3669 pti= [X86_64] Control Page Table Isolation of user and
3670 kernel address spaces. Disabling this feature 3670 kernel address spaces. Disabling this feature
@@ -3693,7 +3693,7 @@
3693 See Documentation/admin-guide/md.rst. 3693 See Documentation/admin-guide/md.rst.
3694 3694
3695 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes 3695 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
3696 See Documentation/blockdev/ramdisk.rst. 3696 See Documentation/admin-guide/blockdev/ramdisk.rst.
3697 3697
3698 random.trust_cpu={on,off} 3698 random.trust_cpu={on,off}
3699 [KNL] Enable or disable trusting the use of the 3699 [KNL] Enable or disable trusting the use of the
diff --git a/MAINTAINERS b/MAINTAINERS
index b36028f43192..699596d931c1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5006,7 +5006,7 @@ T: git git://git.linbit.com/drbd-8.4.git
5006S: Supported 5006S: Supported
5007F: drivers/block/drbd/ 5007F: drivers/block/drbd/
5008F: lib/lru_cache.c 5008F: lib/lru_cache.c
5009F: Documentation/blockdev/drbd/ 5009F: Documentation/admin-guide/blockdev/
5010 5010
5011DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS 5011DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS
5012M: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 5012M: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
@@ -11076,7 +11076,7 @@ M: Josef Bacik <josef@toxicpanda.com>
11076S: Maintained 11076S: Maintained
11077L: linux-block@vger.kernel.org 11077L: linux-block@vger.kernel.org
11078L: nbd@other.debian.org 11078L: nbd@other.debian.org
11079F: Documentation/blockdev/nbd.rst 11079F: Documentation/admin-guide/blockdev/nbd.rst
11080F: drivers/block/nbd.c 11080F: drivers/block/nbd.c
11081F: include/trace/events/nbd.h 11081F: include/trace/events/nbd.h
11082F: include/uapi/linux/nbd.h 11082F: include/uapi/linux/nbd.h
@@ -12086,7 +12086,7 @@ PARIDE DRIVERS FOR PARALLEL PORT IDE DEVICES
12086M: Tim Waugh <tim@cyberelk.net> 12086M: Tim Waugh <tim@cyberelk.net>
12087L: linux-parport@lists.infradead.org (subscribers-only) 12087L: linux-parport@lists.infradead.org (subscribers-only)
12088S: Maintained 12088S: Maintained
12089F: Documentation/blockdev/paride.rst 12089F: Documentation/admin-guide/blockdev/paride.rst
12090F: drivers/block/paride/ 12090F: drivers/block/paride/
12091 12091
12092PARISC ARCHITECTURE 12092PARISC ARCHITECTURE
@@ -13367,7 +13367,7 @@ F: drivers/net/wireless/ralink/rt2x00/
13367RAMDISK RAM BLOCK DEVICE DRIVER 13367RAMDISK RAM BLOCK DEVICE DRIVER
13368M: Jens Axboe <axboe@kernel.dk> 13368M: Jens Axboe <axboe@kernel.dk>
13369S: Maintained 13369S: Maintained
13370F: Documentation/blockdev/ramdisk.rst 13370F: Documentation/admin-guide/blockdev/ramdisk.rst
13371F: drivers/block/brd.c 13371F: drivers/block/brd.c
13372 13372
13373RANCHU VIRTUAL BOARD FOR MIPS 13373RANCHU VIRTUAL BOARD FOR MIPS
@@ -17723,7 +17723,7 @@ R: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
17723L: linux-kernel@vger.kernel.org 17723L: linux-kernel@vger.kernel.org
17724S: Maintained 17724S: Maintained
17725F: drivers/block/zram/ 17725F: drivers/block/zram/
17726F: Documentation/blockdev/zram.rst 17726F: Documentation/admin-guide/blockdev/zram.rst
17727 17727
17728ZS DECSTATION Z85C30 SERIAL DRIVER 17728ZS DECSTATION Z85C30 SERIAL DRIVER
17729M: "Maciej W. Rozycki" <macro@linux-mips.org> 17729M: "Maciej W. Rozycki" <macro@linux-mips.org>
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index c43690b973d8..1bb8ec575352 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -31,7 +31,7 @@ config BLK_DEV_FD
31 If you want to use the floppy disk drive(s) of your PC under Linux, 31 If you want to use the floppy disk drive(s) of your PC under Linux,
32 say Y. Information about this driver, especially important for IBM 32 say Y. Information about this driver, especially important for IBM
33 Thinkpad users, is contained in 33 Thinkpad users, is contained in
34 <file:Documentation/blockdev/floppy.rst>. 34 <file:Documentation/admin-guide/blockdev/floppy.rst>.
35 That file also contains the location of the Floppy driver FAQ as 35 That file also contains the location of the Floppy driver FAQ as
36 well as location of the fdutils package used to configure additional 36 well as location of the fdutils package used to configure additional
37 parameters of the driver at run time. 37 parameters of the driver at run time.
@@ -96,7 +96,7 @@ config PARIDE
96 your computer's parallel port. Most of them are actually IDE devices 96 your computer's parallel port. Most of them are actually IDE devices
97 using a parallel port IDE adapter. This option enables the PARIDE 97 using a parallel port IDE adapter. This option enables the PARIDE
98 subsystem which contains drivers for many of these external drives. 98 subsystem which contains drivers for many of these external drives.
99 Read <file:Documentation/blockdev/paride.rst> for more information. 99 Read <file:Documentation/admin-guide/blockdev/paride.rst> for more information.
100 100
101 If you have said Y to the "Parallel-port support" configuration 101 If you have said Y to the "Parallel-port support" configuration
102 option, you may share a single port between your printer and other 102 option, you may share a single port between your printer and other
@@ -261,7 +261,7 @@ config BLK_DEV_NBD
261 userland (making server and client physically the same computer, 261 userland (making server and client physically the same computer,
262 communicating using the loopback network device). 262 communicating using the loopback network device).
263 263
264 Read <file:Documentation/blockdev/nbd.rst> for more information, 264 Read <file:Documentation/admin-guide/blockdev/nbd.rst> for more information,
265 especially about where to find the server code, which runs in user 265 especially about where to find the server code, which runs in user
266 space and does not need special kernel support. 266 space and does not need special kernel support.
267 267
@@ -303,7 +303,7 @@ config BLK_DEV_RAM
303 during the initial install of Linux. 303 during the initial install of Linux.
304 304
305 Note that the kernel command line option "ramdisk=XX" is now obsolete. 305 Note that the kernel command line option "ramdisk=XX" is now obsolete.
306 For details, read <file:Documentation/blockdev/ramdisk.rst>. 306 For details, read <file:Documentation/admin-guide/blockdev/ramdisk.rst>.
307 307
308 To compile this driver as a module, choose M here: the 308 To compile this driver as a module, choose M here: the
309 module will be called brd. An alias "rd" has been defined 309 module will be called brd. An alias "rd" has been defined
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 5c99e52f9dc1..f652c1ac3ae9 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4424,7 +4424,7 @@ static int __init floppy_setup(char *str)
4424 pr_cont("\n"); 4424 pr_cont("\n");
4425 } else 4425 } else
4426 DPRINT("botched floppy option\n"); 4426 DPRINT("botched floppy option\n");
4427 DPRINT("Read Documentation/blockdev/floppy.rst\n"); 4427 DPRINT("Read Documentation/admin-guide/blockdev/floppy.rst\n");
4428 return 0; 4428 return 0;
4429} 4429}
4430 4430
diff --git a/drivers/block/zram/Kconfig b/drivers/block/zram/Kconfig
index e06b99d54816..fe7a4b7d30cf 100644
--- a/drivers/block/zram/Kconfig
+++ b/drivers/block/zram/Kconfig
@@ -12,7 +12,7 @@ config ZRAM
12 It has several use cases, for example: /tmp storage, use as swap 12 It has several use cases, for example: /tmp storage, use as swap
13 disks and maybe many more. 13 disks and maybe many more.
14 14
15 See Documentation/blockdev/zram.rst for more information. 15 See Documentation/admin-guide/blockdev/zram.rst for more information.
16 16
17config ZRAM_WRITEBACK 17config ZRAM_WRITEBACK
18 bool "Write back incompressible or idle page to backing device" 18 bool "Write back incompressible or idle page to backing device"
@@ -26,7 +26,7 @@ config ZRAM_WRITEBACK
26 With /sys/block/zramX/{idle,writeback}, application could ask 26 With /sys/block/zramX/{idle,writeback}, application could ask
27 idle page's writeback to the backing device to save in memory. 27 idle page's writeback to the backing device to save in memory.
28 28
29 See Documentation/blockdev/zram.rst for more information. 29 See Documentation/admin-guide/blockdev/zram.rst for more information.
30 30
31config ZRAM_MEMORY_TRACKING 31config ZRAM_MEMORY_TRACKING
32 bool "Track zRam block status" 32 bool "Track zRam block status"
@@ -36,4 +36,4 @@ config ZRAM_MEMORY_TRACKING
36 of zRAM. Admin could see the information via 36 of zRAM. Admin could see the information via
37 /sys/kernel/debug/zram/zramX/block_state. 37 /sys/kernel/debug/zram/zramX/block_state.
38 38
39 See Documentation/blockdev/zram.rst for more information. 39 See Documentation/admin-guide/blockdev/zram.rst for more information.
diff --git a/tools/testing/selftests/zram/README b/tools/testing/selftests/zram/README
index 5fa378391d3b..110b34834a6f 100644
--- a/tools/testing/selftests/zram/README
+++ b/tools/testing/selftests/zram/README
@@ -37,4 +37,4 @@ Commands required for testing:
37 - mkfs/ mkfs.ext4 37 - mkfs/ mkfs.ext4
38 38
39For more information please refer: 39For more information please refer:
40kernel-source-tree/Documentation/blockdev/zram.rst 40kernel-source-tree/Documentation/admin-guide/blockdev/zram.rst