Message ID | 1478195304-14547-3-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/ubuntu/hio/hio.c b/ubuntu/hio/hio.c index 25554c0..25a3337 100644 --- a/ubuntu/hio/hio.c +++ b/ubuntu/hio/hio.c @@ -8314,6 +8314,10 @@ static int ssd_make_request(struct request_queue *q, struct bio *bio) #endif +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)) + blk_queue_split(q, &bio, q->bio_split); +#endif + if (0 == atomic_read(&dev->in_sendq)) { ret = ssd_submit_bio(dev, bio, 0); }