Re: [PATCH] drbd: Store op in drbd_peer_request

From: Jens Axboe
Date: Mon Oct 17 2022 - 10:22:55 EST


On 10/17/22 3:01 AM, Christoph B?hmwalder wrote:
> diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
> index 4d661282ff41..0f8e3b94a635 100644
> --- a/drivers/block/drbd/drbd_int.h
> +++ b/drivers/block/drbd/drbd_int.h
> @@ -395,6 +395,7 @@ struct drbd_peer_request {
> struct drbd_peer_device *peer_device;
> struct drbd_epoch *epoch; /* for writes */
> struct page *pages;
> + unsigned int opf; /* to be used as bi_opf */

Why isn't this blk_opf_t?

--
Jens Axboe