On Tue, 7 Feb 2023 at 05:30, Alberto Faria <afaria@xxxxxxxxxx> wrote: > > On Tue, Feb 7, 2023 at 10:23 AM Alberto Faria <afaria@xxxxxxxxxx> wrote: > > On Mon, Feb 6, 2023 at 9:22 PM Stefan Hajnoczi <stefanha@xxxxxxxxx> wrote: > > > Great that you're interesting, Alberto! Both sound feasible. I would > > > like to co-mentor the zoned storage project or can at least commit to > > > being available to help because zoned storage is currently on my mind > > > anyway :). > > > > Perfect, I'll have time to co-mentor one project, but probably not > > two, so let's leave the NVMe driver project aside for now. If anyone > > wants to take that one over, though, go for it. > > > > > Do you want to write up one or both of them using the project template > > > below? You can use the other project ideas as a reference for how much > > > detail to include: https://wiki.qemu.org/Google_Summer_of_Code_2023 > > > > I feel like this is closer to a 175 hour project than a 350 hour one, > > but I'm not entirely sure. > > > > === Zoned device support for libblkio === > > > > '''Summary:''' Add support for zoned block devices to the libblkio library. > > > > Zoned block devices are special kinds of disks that are split into several > > regions called zones, where each zone may only be written > > sequentially and data > > can't be updated without resetting the entire zone. > > > > libblkio is a library that provides an API for efficiently accessing block > > devices using modern high-performance block I/O interfaces like > > Linux io_uring. > > > > The goal is to extend libblkio so users can use it to access zoned devices > > properly. This will require adding support for more request types, expanding > > its API to expose additional metadata about the device, and making the > > appropriate changes to each libblkio "driver". > > > > This is important for QEMU since it will soon support zoned devices too and > > several of its BlockDrivers rely on libblkio. In particular, this > > project would > > enable QEMU to access zoned vhost-user-blk and vhost-vdpa-blk devices. > > Also, a stretch/bonus goal could be to make the necessary changes to > QEMU to actually make use of libblkio's zoned device support. Great, I have added it to the wiki and included a list of tasks: https://wiki.qemu.org/Internships/ProjectIdeas/LibblkioZonedStorage Feel free to edit it. I think this project could just as easily be 350 hours, but I'm happy to mentor a 175 hour project with a more modest scope. Stefan