Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221843
b: refs/heads/master
c: 186fb9c
h: refs/heads/master
i:
  221841: a8c72b0
  221839: 777c56e
v: v3
  • Loading branch information
Stephen M. Cameron authored and Jens Axboe committed Oct 23, 2010
1 parent 2a7fbb9 commit 22f3a05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f442e64b93e16dba6bf9ab7e8dc5a90f6bcd8a85
refs/heads/master: 186fb9cf6a1154bc9b071adfd72fcf256285eb26
5 changes: 5 additions & 0 deletions trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -4079,6 +4079,11 @@ static int __devinit cciss_find_cfgtables(ctlr_info_t *h)
static void __devinit cciss_get_max_perf_mode_cmds(struct ctlr_info *h)
{
h->max_commands = readl(&(h->cfgtable->MaxPerformantModeCommands));

/* Limit commands in memory limited kdump scenario. */
if (reset_devices && h->max_commands > 32)
h->max_commands = 32;

if (h->max_commands < 16) {
dev_warn(&h->pdev->dev, "Controller reports "
"max supported commands of %d, an obvious lie. "
Expand Down

0 comments on commit 22f3a05

Please sign in to comment.