linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM][ATTEND]filesystem -- reflink
@ 2014-01-15  7:16 mingming cao
  2014-01-15  9:03 ` [Lsf-pc] " Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: mingming cao @ 2014-01-15  7:16 UTC (permalink / raw)
  To: lsf-pc; +Cc: linux-fsdevel

Hello,

I'd like to attend Linux storage and filesystem summit. I am interested 
in discussion of general lockless direct io and more interested in 
discussion of reflink support for filesystem. Btrfs and OCFS2 has this 
support, My goal is explore what's best to way this support for ext4. 
If there is any crossover work between filesystem and vfs people, or 
filesystem and dm layer I am more than happy to discuss about it too.

Thanks,
Mingming

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

* Re: [Lsf-pc] [LSF/MM][ATTEND]filesystem -- reflink
  2014-01-15  7:16 [LSF/MM][ATTEND]filesystem -- reflink mingming cao
@ 2014-01-15  9:03 ` Jan Kara
  2014-01-17  0:07   ` Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kara @ 2014-01-15  9:03 UTC (permalink / raw)
  To: mingming cao; +Cc: lsf-pc, linux-fsdevel

  Hello,

On Tue 14-01-14 23:16:20, mingming cao wrote:
> I'd like to attend Linux storage and filesystem summit. I am
> interested in discussion of general lockless direct io and more
> interested in discussion of reflink support for filesystem. Btrfs
> and OCFS2 has this support, My goal is explore what's best to way
> this support for ext4. If there is any crossover work between
> filesystem and vfs people, or filesystem and dm layer I am more than
> happy to discuss about it too.
  There was a project for implementing COW for ext4 but it was a really
major surgery and in the end didn't get to an upstreamable state. Reflink
is somewhat simpler than general COW because it's only about fs data. In
particular implementing reflink with a file granularity (i.e., a type of
hardlink which is automatically converted to a copy when first opened for
writing) is relatively simple to do but I'm not sure how useful it is.
Doing reflink properly with block granularity is harder with block
refcounting etc.

Do you have any particular usecase in mind?

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

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

* Re: [Lsf-pc] [LSF/MM][ATTEND]filesystem -- reflink
  2014-01-15  9:03 ` [Lsf-pc] " Jan Kara
@ 2014-01-17  0:07   ` Dave Chinner
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2014-01-17  0:07 UTC (permalink / raw)
  To: Jan Kara; +Cc: mingming cao, linux-fsdevel, lsf-pc

On Wed, Jan 15, 2014 at 10:03:12AM +0100, Jan Kara wrote:
>   Hello,
> 
> On Tue 14-01-14 23:16:20, mingming cao wrote:
> > I'd like to attend Linux storage and filesystem summit. I am
> > interested in discussion of general lockless direct io and more
> > interested in discussion of reflink support for filesystem. Btrfs
> > and OCFS2 has this support, My goal is explore what's best to way
> > this support for ext4. If there is any crossover work between
> > filesystem and vfs people, or filesystem and dm layer I am more than
> > happy to discuss about it too.
>   There was a project for implementing COW for ext4 but it was a really
> major surgery and in the end didn't get to an upstreamable state. Reflink
> is somewhat simpler than general COW because it's only about fs data. In
> particular implementing reflink with a file granularity (i.e., a type of
> hardlink which is automatically converted to a copy when first opened for
> writing) is relatively simple to do but I'm not sure how useful it is.
> Doing reflink properly with block granularity is harder with block
> refcounting etc.
> 
> Do you have any particular usecase in mind?

The use case I keep hearing for reflink in XFS is optimising
distributed filesystem snapshot implementations, which tend to
require file block level COW semantics on a per-file basis...

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

end of thread, other threads:[~2014-01-17  0:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-15  7:16 [LSF/MM][ATTEND]filesystem -- reflink mingming cao
2014-01-15  9:03 ` [Lsf-pc] " Jan Kara
2014-01-17  0:07   ` Dave Chinner

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 NNTP newsgroup(s).