On Mon, 10 Jul 2023, Jens Axboe wrote:
> When a series is posted and reviewers comment on required changes, I
> always wait for a respin of that series with those addressed. That
> didn't happen, so this didn't get applied.
>
> --
> Jens Axboe
Hi
I updated the brd discard patches so that
On Mon, Jul 10, 2023 at 01:05:00PM -0600, Jens Axboe wrote:
> When a series is posted and reviewers comment on required changes, I
> always wait for a respin of that series with those addressed. That
> didn't happen, so this didn't get applied.
... independent of that any software that assumes
Hi, Mikulas
The lack of discard in ramdisk can cause some issues related to dm. see:
https://lore.kernel.org/all/20220228141354.1091687-1-luomen...@huawei.com/
I noticed that your patch series has already supported discard for brd.
But this patch series has not been applied to mainline at
On 7/10/23 9:24?AM, Mikulas Patocka wrote:
>
>
> On Mon, 10 Jul 2023, Li Nan wrote:
>
>> Hi, Mikulas
>>
>> The lack of discard in ramdisk can cause some issues related to dm. see:
>> https://lore.kernel.org/all/20220228141354.1091687-1-luomen...@huawei.com/
>>
>> I noticed that your patch
On Mon, 10 Jul 2023, Li Nan wrote:
> Hi, Mikulas
>
> The lack of discard in ramdisk can cause some issues related to dm. see:
> https://lore.kernel.org/all/20220228141354.1091687-1-luomen...@huawei.com/
>
> I noticed that your patch series has already supported discard for brd. But
> this
This patch implements discard in the brd driver. We use RCU to free the
page, so that if there are any concurrent readers or writes, they won't
touch the page after it is freed.
Signed-off-by: Mikulas Patocka
---
drivers/block/brd.c | 64 +++-