Skip to content

Commit 929cfdd

Browse files
committed
Merge branch 'for-2.6.40/drivers' of git://git.kernel.dk/linux-2.6-block
* 'for-2.6.40/drivers' of git://git.kernel.dk/linux-2.6-block: (110 commits) loop: handle on-demand devices correctly loop: limit 'max_part' module param to DISK_MAX_PARTS drbd: fix warning drbd: fix warning drbd: Fix spelling drbd: fix schedule in atomic drbd: Take a more conservative approach when deciding max_bio_size drbd: Fixed state transitions after async outdate-peer-handler returned drbd: Disallow the peer_disk_state to be D_OUTDATED while connected drbd: Fix for the connection problems on high latency links drbd: fix potential activity log refcount imbalance in error path drbd: Only downgrade the disk state in case of disk failures drbd: fix disconnect/reconnect loop, if ping-timeout == ping-int drbd: fix potential distributed deadlock lru_cache.h: fix comments referring to ts_ instead of lc_ drbd: Fix for application IO with the on-io-error=pass-on policy xen/p2m: Add EXPORT_SYMBOL_GPL to the M2P override functions. xen/p2m/m2p/gnttab: Support GNTMAP_host_map in the M2P override. xen/blkback: don't fail empty barrier requests xen/blkback: fix xenbus_transaction_start() hang caused by double xenbus_transaction_end() ...
2 parents 798ce8f + a1c15c5 commit 929cfdd

27 files changed

Lines changed: 2677 additions & 307 deletions

‎Documentation/blockdev/cciss.txt‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,18 @@ is issued which positions the tape to a known position. Typically you
169169
must rewind the tape (by issuing "mt -f /dev/st0 rewind" for example)
170170
before i/o can proceed again to a tape drive which was reset.
171171

172+
There is a cciss_tape_cmds module parameter which can be used to make cciss
173+
allocate more commands for use by tape drives. Ordinarily only a few commands
174+
(6) are allocated for tape drives because tape drives are slow and
175+
infrequently used and the primary purpose of Smart Array controllers is to
176+
act as a RAID controller for disk drives, so the vast majority of commands
177+
are allocated for disk devices. However, if you have more than a few tape
178+
drives attached to a smart array, the default number of commands may not be
179+
enought (for example, if you have 8 tape drives, you could only rewind 6
180+
at one time with the default number of commands.) The cciss_tape_cmds module
181+
parameter allows more commands (up to 16 more) to be allocated for use by
182+
tape drives. For example:
183+
184+
insmod cciss.ko cciss_tape_cmds=16
185+
186+
Or, as a kernel boot parameter passed in via grub: cciss.cciss_tape_cmds=8

‎drivers/block/Kconfig‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,27 @@ config XEN_BLKDEV_FRONTEND
470470
block device driver. It communicates with a back-end driver
471471
in another domain which drives the actual block device.
472472

473+
config XEN_BLKDEV_BACKEND
474+
tristate "Block-device backend driver"
475+
depends on XEN_BACKEND
476+
help
477+
The block-device backend driver allows the kernel to export its
478+
block devices to other guests via a high-performance shared-memory
479+
interface.
480+
481+
The corresponding Linux frontend driver is enabled by the
482+
CONFIG_XEN_BLKDEV_FRONTEND configuration option.
483+
484+
The backend driver attaches itself to a any block device specified
485+
in the XenBus configuration. There are no limits to what the block
486+
device as long as it has a major and minor.
487+
488+
If you are compiling a kernel to run in a Xen block backend driver
489+
domain (often this is domain 0) you should say Y here. To
490+
compile this driver as a module, chose M here: the module
491+
will be called xen-blkback.
492+
493+
473494
config VIRTIO_BLK
474495
tristate "Virtio block driver (EXPERIMENTAL)"
475496
depends on EXPERIMENTAL && VIRTIO

‎drivers/block/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ obj-$(CONFIG_BLK_DEV_UB) += ub.o
3636
obj-$(CONFIG_BLK_DEV_HD) += hd.o
3737

3838
obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o
39+
obj-$(CONFIG_XEN_BLKDEV_BACKEND) += xen-blkback/
3940
obj-$(CONFIG_BLK_DEV_DRBD) += drbd/
4041
obj-$(CONFIG_BLK_DEV_RBD) += rbd.o
4142

0 commit comments

Comments
 (0)