[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c53fc061-2a83-428d-b3c0-87feff375f42@oracle.com>
Date: Mon, 22 Oct 2018 18:14:25 +0800
From: "jianchao.wang" <jianchao.w.wang@...cle.com>
To: Christoph Hellwig <hch@....de>, Ming Lei <ming.lei@...hat.com>
Cc: axboe@...nel.dk, martin.petersen@...cle.com, tom.leiming@...il.com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2] block: fix the DISCARD request merge
On 10/22/18 5:08 PM, Christoph Hellwig wrote:
> On Mon, Oct 22, 2018 at 05:06:02PM +0800, Ming Lei wrote:
>>
>> The above may be changed to 'if (blk_try_merge(req) == ELEVATOR_DISCARD_MERGE)'
>> or sort of in future, which may has document benefit at least, since
>> ELEVATOR_DISCARD_MERGE means multi-segment discard merge.
>
> I like that idea, and we should do it for the respin
>
OK, I will use the blk_try_merge in next version.
Thanks
Jianchao
Powered by blists - more mailing lists