[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3662b1aa-546b-e4e0-3705-0bc5626067f6@huaweicloud.com>
Date: Mon, 26 Dec 2022 16:57:07 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: Yu Kuai <yukuai1@...weicloud.com>, Jan Kara <jack@...e.cz>,
Kemeng Shi <shikemeng@...weicloud.com>,
Ming Lei <ming.lei@...hat.com>,
"yukuai (C)" <yukuai3@...wei.com>
Cc: axboe@...nel.dk, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, kbusch@...nel.org,
Laibin Qiu <qiulaibin@...wei.com>
Subject: Re: [PATCH RESEND v2 5/5] sbitmap: correct wake_batch recalculation
to avoid potential IO hung
在 2022/12/26 15:50, Yu Kuai 写道:
>> why using
>> wake batch of 4 is safe for cards with say 32 tags in case
>> active_users is
>> currently 32. Because I don't see why that is correct either.
>>
I see, you guys are worried that during the period that some hctx
complete all it's not idle yet. It's right waiter might wait for
other hctx to become idle to be awaken in this case. However, I'm
not sure which way is better.
Ming, do you have any idea?
Thanks,
Kuai
Powered by blists - more mailing lists