A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

July 28, 2016

Split BIO for filter device mapping module on 3.10

Hi Guy, Dose somebody has expirences about developing linux module to filter the BIO request on block device and split the BIO to two and send half to original one and send another half to another block device?

There is a function call split_bio, but for 3.10 version it has some limitation, so I have to work out my own.

I tried 

1.Alloc two new and send down.

2.Clone two new and send down

All failed.

Any suggestion? Thanks.

Click Here!