diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-16 22:05:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-16 22:05:27 -0400 |
commit | a39ef1a7c6093bbd4e0a8197350b99cd635e5446 (patch) | |
tree | 5a19d1d1f289c52be72710f1d7cd954c830964f6 /Documentation/blockdev | |
parent | d82312c80860b8b83cd4473ac6eafd244e712061 (diff) | |
parent | 976f2ab4985a1dbe3f3f0777ce01d4fdb404c62a (diff) |
Merge branch 'for-4.1/drivers' of git://git.kernel.dk/linux-block
Pull block driver updates from Jens Axboe:
"This is the block driver pull request for 4.1. As with the core bits,
this is a relatively slow round. This pull request contains:
- Various fixes and cleanups for NVMe, from Alexey Khoroshilov, Chong
Yuan, myself, Keith Busch, and Murali Iyer.
- Documentation and code cleanups for nbd from Markus Pargmann.
- Change of brd maintainer to me, from Ross Zwisler. At least the
email doesn't bounce anymore then.
- Two xen-blkback fixes from Tao Chen"
* 'for-4.1/drivers' of git://git.kernel.dk/linux-block: (23 commits)
NVMe: Meta data handling through submit io ioctl
NVMe: Add translation for block limits
NVMe: Remove check for null
NVMe: Fix error handling of class_create("nvme")
xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX
xen-blkback: enlarge the array size of blkback name
nbd: Return error pointer directly
nbd: Return error code directly
nbd: Remove fixme that was already fixed
nbd: Restructure debugging prints
nbd: Fix device bytesize type
nbd: Replace kthread_create with kthread_run
nbd: Remove kernel internal header
Documentation: nbd: Add list of module parameters
Documentation: nbd: Reformat to allow more documentation
NVMe: increase depth of admin queue
nvme: Fix PRP list calculation for non-4k system page size
NVMe: Fix blk-mq hot cpu notification
NVMe: embedded iod mask cleanup
NVMe: Freeze admin queue on device failure
...
Diffstat (limited to 'Documentation/blockdev')
-rw-r--r-- | Documentation/blockdev/nbd.txt | 48 |
1 files changed, 31 insertions, 17 deletions
diff --git a/Documentation/blockdev/nbd.txt b/Documentation/blockdev/nbd.txt index 271e607304da..db242ea2bce8 100644 --- a/Documentation/blockdev/nbd.txt +++ b/Documentation/blockdev/nbd.txt | |||
@@ -1,17 +1,31 @@ | |||
1 | Network Block Device (TCP version) | 1 | Network Block Device (TCP version) |
2 | 2 | ================================== | |
3 | What is it: With this compiled in the kernel (or as a module), Linux | 3 | |
4 | can use a remote server as one of its block devices. So every time | 4 | 1) Overview |
5 | the client computer wants to read, e.g., /dev/nb0, it sends a | 5 | ----------- |
6 | request over TCP to the server, which will reply with the data read. | 6 | |
7 | This can be used for stations with low disk space (or even diskless) | 7 | What is it: With this compiled in the kernel (or as a module), Linux |
8 | to borrow disk space from another computer. | 8 | can use a remote server as one of its block devices. So every time |
9 | Unlike NFS, it is possible to put any filesystem on it, etc. | 9 | the client computer wants to read, e.g., /dev/nb0, it sends a |
10 | 10 | request over TCP to the server, which will reply with the data read. | |
11 | For more information, or to download the nbd-client and nbd-server | 11 | This can be used for stations with low disk space (or even diskless) |
12 | tools, go to http://nbd.sf.net/. | 12 | to borrow disk space from another computer. |
13 | 13 | Unlike NFS, it is possible to put any filesystem on it, etc. | |
14 | The nbd kernel module need only be installed on the client | 14 | |
15 | system, as the nbd-server is completely in userspace. In fact, | 15 | For more information, or to download the nbd-client and nbd-server |
16 | the nbd-server has been successfully ported to other operating | 16 | tools, go to http://nbd.sf.net/. |
17 | systems, including Windows. | 17 | |
18 | The nbd kernel module need only be installed on the client | ||
19 | system, as the nbd-server is completely in userspace. In fact, | ||
20 | the nbd-server has been successfully ported to other operating | ||
21 | systems, including Windows. | ||
22 | |||
23 | A) NBD parameters | ||
24 | ----------------- | ||
25 | |||
26 | max_part | ||
27 | Number of partitions per device (default: 0). | ||
28 | |||
29 | nbds_max | ||
30 | Number of block devices that should be initialized (default: 16). | ||
31 | |||