Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove IO stack limits to avoid bio split
Signed-off-by: Yong Yang <yangoliver@gmail.com>
  • Loading branch information
yangoliver committed Sep 3, 2016
1 parent d431737 commit bc05891
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/block/sampleblk/day2/sample_blk.c
Expand Up @@ -155,6 +155,9 @@ static int sampleblk_alloc(int minor)
goto fail_data;
}

/* Remove IO stack limits to avoid bio split */
blk_set_stacking_limits(&sampleblk_dev->queue->limits);

disk = alloc_disk(minor);
if (!disk) {
rv = -ENOMEM;
Expand Down

0 comments on commit bc05891

Please sign in to comment.