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!