Kernel Newbies archive on
 help / color / Atom feed
* 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:

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.


Kernelnewbies mailing list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

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

Kernel Newbies archive on

Archives are clonable:
	git clone --mirror kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ \
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone