This looks fine, but we also need the same in blkdev_bio_end_io and iomap_dio_bio_end_io. Probably best to add a little helper.
- Re: [PATCH 3/3] block: Polling completion performan... Jens Axboe
- Re: [PATCH 3/3] block: Polling completion performan... Scott Bauer
- Re: [PATCH 3/3] block: Polling completion perfo... Jens Axboe
- Re: [PATCH 3/3] block: Polling completion p... Keith Busch
- Re: [PATCH 3/3] block: Polling completi... Jens Axboe
- Re: [PATCH 3/3] block: Polling com... Keith Busch
- Re: [PATCH 3/3] block: Polling... Jens Axboe
- Re: [PATCH 3/3] block: Polling completi... Christoph Hellwig
- Re: [PATCH 3/3] block: Polling com... Keith Busch
- Re: [PATCH 3/3] block: Polling com... Sagi Grimberg
- Re: [PATCH 3/3] block: Polling completion performan... Christoph Hellwig
- [PATCH 1/3] nvme/pci: Start request after doorbell ring Keith Busch
- Re: [PATCH 1/3] nvme/pci: Start request after doorb... Jens Axboe
- Re: [PATCH 1/3] nvme/pci: Start request after d... Jens Axboe
- Re: [PATCH 1/3] nvme/pci: Start request aft... Keith Busch
- Re: [PATCH 1/3] nvme/pci: Start request... Jens Axboe
- Re: [PATCH 1/3] nvme/pci: Start re... Keith Busch
- Re: [PATCH 1/3] nvme/pci: Star... Keith Busch
- Re: [PATCH 1/3] nvme/pci: Start request... Sagi Grimberg
- Re: [PATCH 1/3] nvme/pci: Start re... Christoph Hellwig
- Re: [PATCH 1/3] nvme/pci: Start request after doorb... Sagi Grimberg