]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - ubuntu/hio/hio.c
UBUNTU: SAUCE: hio: splitting bio in the entry of .make_request_fn
[mirror_ubuntu-zesty-kernel.git] / ubuntu / hio / hio.c
index fe572e4309415703f242836b9dddf27f7d74d85e..fd58f37ffbac4d179ee38b6773215fb4331310d4 100644 (file)
@@ -8338,6 +8338,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);
        }