* Sample Block Multiqueue Driver
@ 2019-12-28 1:42 cdupuis1
0 siblings, 0 replies; only message in thread
From: cdupuis1 @ 2019-12-28 1:42 UTC (permalink / raw)
To: kernelnewbies; +Cc: Chad Dupuis
Hi Folks,
While there are some good references for block drivers such as loop and
null_blk, I've not see a good bare bones block multiqueue example
driver. This may not mean that one doesn't exist but since I
personally have not seen one, I've created one called blk_example which
I've posted on my github account:
https://github.com/cdupuis1/nvme_test/tree/master/blk_example.
I've tried to make as bare bones a driver that actually still will work
as a small block device, /dev/blk_example. The memory footprint of the
backing store is relatively small, 2000 sectors or 1MB, but is
resizeable with the num_sectors module parameter.
It was helpful as a learning experience for me so I'd thought I would
share in case anyone else happened to be looking for such a sample
driver. Comments or improvements are welcome.
Thanks,
Chad
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-28 1:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-28 1:42 Sample Block Multiqueue Driver cdupuis1
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).