Userspace Block Device

From: Bill Speirs
Date: Mon May 18 2015 - 15:01:11 EST


My goal is to provide Amazon S3 or Google Cloud Storage as a block
device. I would like to leverage the libraries that exist for both
systems by servicing requests via a user space program.

I found 2 LKML threads that talk about a "userspace block device":

2005-11-09: http://article.gmane.org/gmane.linux.kernel/346883
2009-07-27: http://article.gmane.org/gmane.linux.kernel/869784

The first thread resulted in Michael Clark suggesting his kernel
module: https://github.com/michaeljclark/userblk The second
essentially resulted in "use nbd". Mr. Clark's module is now over 10
years old, and ndb seems like a bit of a Rube Goldberg solution.

Does the kernel now supports a facility to service bio requests via
user space? If not, what would be the best approach to take? Update
Mr. Clark's code? Or is there a newer and more efficient facility for
kernel <-> user space communication and transferring of data?

Thanks...

Bill-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/