[PATCHv8 2/6] block: use generic u16 for write hints

Bart Van Assche bvanassche at acm.org
Fri Oct 18 09:12:20 PDT 2024


On 10/17/24 9:09 AM, Keith Busch wrote:
> @@ -156,7 +155,7 @@ struct request {
>   	struct blk_crypto_keyslot *crypt_keyslot;
>   #endif
>   
> -	enum rw_hint write_hint;
> +	unsigned short write_hint;

Why 'u16' for ki_write_hint and 'unsigned short' for write_hint? Isn't
that inconsistent?

Thanks,

Bart.



More information about the Linux-nvme mailing list