On Thu, May 09, 2013 at 04:27:05PM -0600, neha naik wrote: > Are there any advantages of using block device driver instead of > device mapper (or vice versa) device-mapper is a framework for implementing virtual devices. dm devices can stack on each other nicely. If you're writing a driver for real hardware, write a plain block device driver. Otherwise I'd start by looking at dm. You may find your virtual dev can be more efficiently implemented outside the dm framework. For instance dm-cache can only see one bio at a time within dm, which is tedious. But make sure you've proved to yourself and the community that the performance benefit is significant enough to warrant reimplementing things that dm provides for free (like bio splitting). - Joe -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel