[dm-devel] fstrim on raid1 LV with writemostly PV leads to system freeze

Song Liu song at kernel.org
Fri Sep 22 23:08:51 UTC 2023


Hi folks,

Thanks for the report. I will try to reproduce this issue next week.

Song

On Fri, Sep 22, 2023 at 9:25 AM Kirill Kirilenko <kirill at ultracoder.org> wrote:
>
> On 22.09.2023 00:45 +0300, Mike Snitzer wrote:
> > Given your use of 'writemostly' I'm inferring you're using lvm2's
> > raid1 that uses MD raid1 code in terms of the dm-raid target.
>
> Yes, exactly.
>
> On 22.09.2023 00:45 +0300, Mike Snitzer wrote:
> > All said: hopefully someone more MD oriented can review your report
> > and help you further.
> Thank you. I don't need to send a new report to MD maintainers, do I?
>
> On 22.09.2023 01:03 +0300, Roman Mamedov wrote:
> > Maybe your system hasn't frozen too, just taking its time in processing all
> > the tiny split requests.
> I don't think so, because the disk activity light is off. Let me clarify:
> if music was playing when the system froze, the last sound buffer begins
> to play cyclically.



More information about the dm-devel mailing list