The design is not up to me and I am just developing the code and I need to develop the filter layer to convert the character buf to bio vects. But I am wondering if there is a easy way to do this. thanks, yx
Date: Tue, 4 Oct 2011 10:46:18 -0700 From: greg@kroah.com To: pointyx@live.com CC: kernelnewbies@kernelnewbies.org Subject: Re: How to open and write to a block driver within a character driver?
On Tue, Oct 04, 2011 at 10:42:15AM -0700, Yang Xiang wrote:
I am taksed to develop a Block device driver which will be used within a character device driver so the write to the character driver will be also formatted, converted and duplicated to the block drvice.
Why? That really makes no sense. Please explain what type of problem you are trying to solve with this design?
greg k-h