Initialize the local variables for the discard max sectors and
granularity to zero as a sensible default, and then merge the
calls assigning them to the queue limits.
Signed-off-by: Christoph Hellwig
Reviewed-by: Keith Busch
Reviewed-by: Chaitanya Kulkarni
Reviewed-by: Ming Lei
Reviewed-by: Da
Initialize the local variables for the discard max sectors and
granularity to zero as a sensible default, and then merge the
calls assigning them to the queue limits.
Signed-off-by: Christoph Hellwig
Reviewed-by: Keith Busch
Reviewed-by: Chaitanya Kulkarni
Reviewed-by: Ming Lei
Reviewed-by: Da
On 1/22/24 18:36, Christoph Hellwig wrote:
Initialize the local variables for the discard max sectors and
granularity to zero as a sensible default, and then merge the
calls assigning them to the queue limits.
Signed-off-by: Christoph Hellwig
---
drivers/block/loop.c | 27
On 1/22/24 09:36, Christoph Hellwig wrote:
> Initialize the local variables for the discard max sectors and
> granularity to zero as a sensible default, and then merge the
> calls assigning them to the queue limits.
>
> Signed-off-by: Christoph Hellwig
>
Looks good.
Reviewed-by: Chaitanya Kulkar
On 1/23/24 02:36, Christoph Hellwig wrote:
> Initialize the local variables for the discard max sectors and
> granularity to zero as a sensible default, and then merge the
> calls assigning them to the queue limits.
>
> Signed-off-by: Christoph Hellwig
Looks OK to me.
Reviewed-by: Damien Le Moa
Initialize the local variables for the discard max sectors and
granularity to zero as a sensible default, and then merge the
calls assigning them to the queue limits.
Signed-off-by: Christoph Hellwig
---
drivers/block/loop.c | 27 ---
1 file changed, 8 insertions(+), 19 d