Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269267
b: refs/heads/master
c: d1688a6
h: refs/heads/master
i:
  269265: d2b172a
  269263: 30ae7a8
v: v3
  • Loading branch information
NeilBrown committed Oct 11, 2011
1 parent ee61675 commit c2d7aa7
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 87 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: e8096360476689898f038feebf5b352c9ec43a2a
refs/heads/master: d1688a6d5515f1900af76a963b4bb6d9a6554cfa
4 changes: 2 additions & 2 deletions trunk/drivers/md/dm-raid.c
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ static int raid_status(struct dm_target *ti, status_type_t type,
rs->md.bitmap_info.max_write_behind);

if (rs->print_flags & DMPF_STRIPE_CACHE) {
raid5_conf_t *conf = rs->md.private;
struct r5conf *conf = rs->md.private;

/* convert from kiB to sectors */
DMEMIT(" stripe_cache %d",
Expand Down Expand Up @@ -1146,7 +1146,7 @@ static void raid_io_hints(struct dm_target *ti, struct queue_limits *limits)
{
struct raid_set *rs = ti->private;
unsigned chunk_size = rs->md.chunk_sectors << 9;
raid5_conf_t *conf = rs->md.private;
struct r5conf *conf = rs->md.private;

blk_limits_io_min(limits, chunk_size);
blk_limits_io_opt(limits, chunk_size * (conf->raid_disks - conf->max_degraded));
Expand Down
Loading

0 comments on commit c2d7aa7

Please sign in to comment.