Linux-XFS Archive mirror
 help / color / mirror / Atom feed
From: linux-xfs.ykg@rutile.org
To: linux-xfs@vger.kernel.org
Subject: Question about using reflink and realtime features on the same filesystem
Date: Tue, 16 Apr 2024 23:24:27 +0000	[thread overview]
Message-ID: <0101018ee939dd0d-f4f89d16-04ff-44ae-97f6-541a30117a4d-000000@us-west-2.amazonses.com> (raw)

Greetings,

I was attempting to use mkfs.xfs on Linux Mint 21 (kernel 6.5.0, xfsprogs 5.13.0) and ran into an 
error trying to use realtime and reflink features on the same filesystem. Is there anything I'm 
doing wrong, or is this combination simply not supported on the same filesystem?

The exact command I ran was:
mkfs.xfs -N -r rtdev=/dev/sda1,extsize=1048576 -m reflink=1 /dev/sda2

Which returned with:
reflink not supported with realtime devices

Just to be clear - I didn't expect to be able to use reflinking on realtime files (*), but I did 
expect to be able to have realtime files and reflinked non-realtime files supported on the same 
filesystem. With my limited knowledge of the inner workings of XFS, those two features _seem_ like 
they could both work together as long as they are used on different inodes. Is this not the case?

Thanks,
Reed Wilson



(*) I noticed that there were recent commits for reflinking realtime files, but that's not really 
what I was looking for


             reply	other threads:[~2024-04-16 23:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16 23:24 linux-xfs.ykg [this message]
2024-04-17  0:26 ` Question about using reflink and realtime features on the same filesystem Darrick J. Wong
2024-04-17  1:03   ` linux-xfs.ykg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0101018ee939dd0d-f4f89d16-04ff-44ae-97f6-541a30117a4d-000000@us-west-2.amazonses.com \
    --to=linux-xfs.ykg@rutile.org \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).