Skip to contentSkip to conversation

DISCUSSION Konst Mayer 2 participants 3 messages Jun 20, 2024

lore
Share & tools
lore
#0 lore raw

Hello,

In our setup, we created a dedicated real-time section on top of RAID0 (backed by multiple SSDs). The rest of the filesystem resides on another device.

When we ran the "fstrim" command on the mountpoint (mounted with -o rtdev=/dev/md/raid), the discard does not propogate to the real-time partition, and only the partition with metadata gets trimmed.

Is there a solution to this?

Best regards,
Konst

#1 lore raw

TRIM does not propagate real-time sections

We are using Linux 5.15, by the way.

Quoted 14 lines · Konst Mayer

Hello,

In our setup, we created a dedicated real-time section on top of RAID0 (backed by multiple SSDs). The rest of the filesystem resides on another device.

When we ran the "fstrim" command on the mountpoint (mounted with -o rtdev=/dev/md/raid), the discard does not propogate to the real-time partition, and only the partition with metadata gets trimmed.

Is there a solution to this?

Best regards,
Konst

#2 lore raw

Re: TRIM does not propagate real-time sections

Quoted 14 lines · Konst Mayer

We are using Linux 5.15, by the way.

Quoted 11 lines · Konst Mayer

Hello,

In our setup, we created a dedicated real-time section on top of RAID0 (backed by multiple SSDs). The rest of the filesystem resides on another device.

When we ran the "fstrim" command on the mountpoint (mounted with -o rtdev=/dev/md/raid), the discard does not propogate to the real-time partition, and only the partition with metadata gets trimmed.

Is there a solution to this?

https://lore.kernel.org/linux-xfs/167243867907.713699.3220336734546600556.stgit@magnolia/
https://lore.kernel.org/linux-xfs/170404846975.1763756.7829043057977943548.stgit@frogsfrogsfrogs/

--D

Quoted 3 lines
Quoted 2 lines

Best regards,
Konst