Messages in this thread | | | From | Chaitanya Kulkarni <> | Subject | Re: [PATCH] loop: Only change blocksize when needed. | Date | Tue, 10 Mar 2020 20:23:46 +0000 |
| |
Logically this is a right thing to do, but I wonder how much speedup you are getting with these improvements ? It will be great if you have some numbers so we all know the speedup.
Irrespective of that, this looks good to me.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
On 03/10/2020 06:17 AM, Martijn Coenen wrote: > Return early in loop_set_block_size() if the requested block size is > identical to the one we already have; this avoids expensive calls to > freeze the block queue. > > Signed-off-by: Martijn Coenen<maco@android.com>
| |