diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-18 15:12:45 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-18 15:12:45 -0400 |
| commit | e75437fb9322cf0ac707046a12d78a25f9d52ccf (patch) | |
| tree | 959fbda9d606f500e5c554eb68984111a9e6b3b3 /drivers/block/rsxx | |
| parent | d3dc366bbaf07c125561e90d6da4bb147741101a (diff) | |
| parent | b277da0a8a594308e17881f4926879bd5fca2a2d (diff) | |
Merge branch 'for-3.18/drivers' of git://git.kernel.dk/linux-block
Pull block layer driver update from Jens Axboe:
"This is the block driver pull request for 3.18. Not a lot in there
this round, and nothing earth shattering.
- A round of drbd fixes from the linbit team, and an improvement in
asender performance.
- Removal of deprecated (and unused) IRQF_DISABLED flag in rsxx and
hd from Michael Opdenacker.
- Disable entropy collection from flash devices by default, from Mike
Snitzer.
- A small collection of xen blkfront/back fixes from Roger Pau Monné
and Vitaly Kuznetsov"
* 'for-3.18/drivers' of git://git.kernel.dk/linux-block:
block: disable entropy contributions for nonrot devices
xen, blkfront: factor out flush-related checks from do_blkif_request()
xen-blkback: fix leak on grant map error path
xen/blkback: unmap all persistent grants when frontend gets disconnected
rsxx: Remove deprecated IRQF_DISABLED
block: hd: remove deprecated IRQF_DISABLED
drbd: use RB_DECLARE_CALLBACKS() to define augment callbacks
drbd: compute the end before rb_insert_augmented()
drbd: Add missing newline in resync progress display in /proc/drbd
drbd: reduce lock contention in drbd_worker
drbd: Improve asender performance
drbd: Get rid of the WORK_PENDING macro
drbd: Get rid of the __no_warn and __cond_lock macros
drbd: Avoid inconsistent locking warning
drbd: Remove superfluous newline from "resync_extents" debugfs entry.
drbd: Use consistent names for all the bi_end_io callbacks
drbd: Use better variable names
Diffstat (limited to 'drivers/block/rsxx')
| -rw-r--r-- | drivers/block/rsxx/core.c | 2 | ||||
| -rw-r--r-- | drivers/block/rsxx/dev.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c index 3265ce94d282..d8b2488aaade 100644 --- a/drivers/block/rsxx/core.c +++ b/drivers/block/rsxx/core.c | |||
| @@ -837,7 +837,7 @@ static int rsxx_pci_probe(struct pci_dev *dev, | |||
| 837 | "Failed to enable MSI\n"); | 837 | "Failed to enable MSI\n"); |
| 838 | } | 838 | } |
| 839 | 839 | ||
| 840 | st = request_irq(dev->irq, rsxx_isr, IRQF_DISABLED | IRQF_SHARED, | 840 | st = request_irq(dev->irq, rsxx_isr, IRQF_SHARED, |
| 841 | DRIVER_NAME, card); | 841 | DRIVER_NAME, card); |
| 842 | if (st) { | 842 | if (st) { |
| 843 | dev_err(CARD_TO_DEV(card), | 843 | dev_err(CARD_TO_DEV(card), |
diff --git a/drivers/block/rsxx/dev.c b/drivers/block/rsxx/dev.c index 2839d37e5af7..40ee7705df63 100644 --- a/drivers/block/rsxx/dev.c +++ b/drivers/block/rsxx/dev.c | |||
| @@ -307,6 +307,7 @@ int rsxx_setup_dev(struct rsxx_cardinfo *card) | |||
| 307 | blk_queue_physical_block_size(card->queue, RSXX_HW_BLK_SIZE); | 307 | blk_queue_physical_block_size(card->queue, RSXX_HW_BLK_SIZE); |
| 308 | 308 | ||
| 309 | queue_flag_set_unlocked(QUEUE_FLAG_NONROT, card->queue); | 309 | queue_flag_set_unlocked(QUEUE_FLAG_NONROT, card->queue); |
| 310 | queue_flag_clear_unlocked(QUEUE_FLAG_ADD_RANDOM, card->queue); | ||
| 310 | if (rsxx_discard_supported(card)) { | 311 | if (rsxx_discard_supported(card)) { |
| 311 | queue_flag_set_unlocked(QUEUE_FLAG_DISCARD, card->queue); | 312 | queue_flag_set_unlocked(QUEUE_FLAG_DISCARD, card->queue); |
| 312 | blk_queue_max_discard_sectors(card->queue, | 313 | blk_queue_max_discard_sectors(card->queue, |
