Re: [PATCH 2/2] ufs: don't use the fair tag sharings

From: Bart Van Assche
Date: Wed May 10 2023 - 11:56:23 EST


On 5/9/23 22:21, Avri Altman wrote:
Why it was needed to invent a new flag instead of just clear BLK_MQ_F_TAG_QUEUE_SHARED?

Hi Avri,

The meaning of BLK_MQ_F_TAG_QUEUE_SHARED is "the tag set is shared
across multiple request queues". Clearing BLK_MQ_F_TAG_QUEUE_SHARED if
the tag set is shared would be wrong: it would break all the code
outside the tag allocation code that tests this flag.

Thanks,

Bart.