Improvements in the block layer
Improvements in the block layer
Posted Oct 9, 2017 16:35 UTC (Mon) by axboe (subscriber, #904)In reply to: Improvements in the block layer by willy
Parent article: Improvements in the block layer
> I'm still not sure that the request based version of the nvme driver is actually an improvement. It's certainly more complicated!
IMHO, that statement is obviously false. If you look at the initial conversion, it removed far more lines than it added. It's utilizing shared code in blk-mq that other drivers get to use as well. These days the driver is obviously more complex than the initial version, but that's due to all of the new features that have been added. Years later at this point, I'd say that was definitely the right decision and an improvement. The simpler we can make drivers, the better off we are. Core code is much more heavily scrutinized than driver code, and shared code means we only have to fix bugs once.