Permalink
Browse files

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 bc05891d53334cc3fa4690b87718c935ba76f52b
Showing with 3 additions and 0 deletions.
  1. +3 −0 drivers/block/sampleblk/day2/sample_blk.c
@@ -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;

0 comments on commit bc05891

Please sign in to comment.