Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256894
b: refs/heads/master
c: 8f3d14e
h: refs/heads/master
v: v3
  • Loading branch information
Nicholas Bellinger committed Jul 22, 2011
1 parent dec0311 commit ce29045
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e1be919820175a2becc3c72051050aaa3fae954
refs/heads/master: 8f3d14e2b0352e41c8e64a39c95c7d9498c96e89
4 changes: 2 additions & 2 deletions trunk/drivers/target/target_core_iblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ static struct se_device *iblock_create_virtdevice(
limits->logical_block_size = bdev_logical_block_size(bd);
limits->max_hw_sectors = queue_max_hw_sectors(q);
limits->max_sectors = queue_max_sectors(q);
dev_limits.hw_queue_depth = IBLOCK_MAX_DEVICE_QUEUE_DEPTH;
dev_limits.queue_depth = IBLOCK_DEVICE_QUEUE_DEPTH;
dev_limits.hw_queue_depth = q->nr_requests;
dev_limits.queue_depth = q->nr_requests;

ib_dev->ibd_major = MAJOR(bd->bd_dev);
ib_dev->ibd_minor = MINOR(bd->bd_dev);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/target/target_core_iblock.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#define IBLOCK_VERSION "4.0"

#define IBLOCK_DEVICE_QUEUE_DEPTH 32
#define IBLOCK_MAX_DEVICE_QUEUE_DEPTH 128
#define IBLOCK_MAX_CDBS 16
#define IBLOCK_LBA_SHIFT 9

Expand Down

0 comments on commit ce29045

Please sign in to comment.