public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* (no subject)
@ 2024-06-20 15:49 Konst Mayer
  2024-06-20 15:52 ` TRIM does not propagate real-time sections Konst Mayer
  0 siblings, 1 reply; 3+ messages in thread
From: Konst Mayer @ 2024-06-20 15:49 UTC (permalink / raw)
  To: linux-xfs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* TRIM does not propagate real-time sections
  2024-06-20 15:49 Konst Mayer
@ 2024-06-20 15:52 ` Konst Mayer
  2024-06-20 19:58   ` Darrick J. Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Konst Mayer @ 2024-06-20 15:52 UTC (permalink / raw)
  To: linux-xfs

We are using Linux 5.15, by the way.

Konst Mayer <cdlscpmv@gmail.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: TRIM does not propagate real-time sections
  2024-06-20 15:52 ` TRIM does not propagate real-time sections Konst Mayer
@ 2024-06-20 19:58   ` Darrick J. Wong
  0 siblings, 0 replies; 3+ messages in thread
From: Darrick J. Wong @ 2024-06-20 19:58 UTC (permalink / raw)
  To: Konst Mayer; +Cc: linux-xfs

On Thu, Jun 20, 2024 at 10:52:52PM +0700, Konst Mayer wrote:
> We are using Linux 5.15, by the way.
> 
> Konst Mayer <cdlscpmv@gmail.com> wrote:
> > 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

> > Best regards,
> > Konst
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-20 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 15:49 Konst Mayer
2024-06-20 15:52 ` TRIM does not propagate real-time sections Konst Mayer
2024-06-20 19:58   ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox