Skip to contentSkip to conversation

Question about reflink feature

DISCUSSION Darrick J. Wong 3 participants 3 messages Jul 25, 2018 – Jul 27, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

[add linux-xfs to cc]

Quoted 9 lines · Xiao Yang

Hi Darrick,

Sorry to bother you.

Currently, all reflink tests for XFS in xfstests are skipped even if we use the lastest kernel and xfsprogs.
It seems that mkfs.xfs doesn't enable reflink by default, do you want to enable it by default in later
xfsprogs version?

It will be enabled by default when we've had a long enough period to test it and make sure it's stable for general use. That may happen some time in early 2019.

Quoted 2 lines

Shoud we enable it forcely by "mkfs.xfs -m reflink" in xfstests if mkfs.xfs supports it?

For now, yes.

--D

Quoted 5 lines

Thanks,
Xiao Yang

#2 lore raw

Hi Darrick,

Thanks for your explanation.

rmapbt, reflink and dedupe features will be enabled by default together?

Thanks
Xiao Yang

Quoted 28 lines · Darrick J. Wong

[add linux-xfs to cc]

Quoted 9 lines · Xiao Yang

Hi Darrick,

Sorry to bother you.

Currently, all reflink tests for XFS in xfstests are skipped even if we use the lastest kernel and xfsprogs.
It seems that mkfs.xfs doesn't enable reflink by default, do you want to enable it by default in later
xfsprogs version?

It will be enabled by default when we've had a long enough period to test it and make sure it's stable for general use. That may happen some time in early 2019.

Quoted 2 lines

Shoud we enable it forcely by "mkfs.xfs -m reflink" in xfstests if mkfs.xfs supports it?

For now, yes.

--D

Quoted 4 lines

Thanks,
Xiao Yang

#3 lore raw
Quoted 5 lines · Xiao Yang

Hi Darrick,

Thanks for your explanation.

rmapbt, reflink and dedupe features will be enabled by default together?

dedup is not a "feature" of xfs by itself; rather there are userspace applications which can use clone_file_range (related to reflink) to do out of band deduplication from userspace.

I believe that rmapbt has a fair bit of performance overhead, and may not get enabled by default. Not certain about this though.

-Eric

Quoted 39 lines

Thanks
Xiao Yang

Quoted 28 lines · Darrick J. Wong

[add linux-xfs to cc]

Quoted 9 lines · Xiao Yang

Hi Darrick,

Sorry to bother you.

Currently, all reflink tests for XFS in xfstests are skipped even if we use the lastest kernel and xfsprogs.
It seems that mkfs.xfs doesn't enable reflink by default, do you want to enable it by default in later
xfsprogs version?

It will be enabled by default when we've had a long enough period to test it and make sure it's stable for general use.  That may happen some time in early 2019.

Quoted 2 lines

Shoud we enable it forcely by "mkfs.xfs -m reflink" in xfstests if mkfs.xfs supports it?

For now, yes.

--D

Quoted 4 lines

Thanks,
Xiao Yang

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html