linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brian Foster <bfoster@redhat.com>
To: linux-xfs@vger.kernel.org
Subject: [RFC PATCH] fiemap cow fork flag
Date: Thu, 20 Oct 2016 10:11:17 -0400	[thread overview]
Message-ID: <1476972679-571-1-git-send-email-bfoster@redhat.com> (raw)

Hi all,

This is just something I slapped together when poking around and learning the
reflink cow fork stuff. E.g., I find it useful to see exactly what's going on
in certain situations, verify the background reclaim works, etc. I'm not sure
it's worthy of a generic fiemap flag since I believe the cow fork is a fairly
XFS-specific mechanism, it's limited to extra blocks that haven't been written,
and probably dumps information obtainable via other means (tracepoints). I'm
throwing it up on the list anyways for reference and/or archival purposes, if
nothing else. Thanks!

Brian

Brian Foster (1):
  xfs: fiemap support for cow fork

 fs/xfs/xfs_iomap.c          | 45 +++++++++++++++++++++++++++++++++++++++++++++
 fs/xfs/xfs_iomap.h          |  1 +
 fs/xfs/xfs_iops.c           |  4 ++++
 include/uapi/linux/fiemap.h |  1 +
 4 files changed, 51 insertions(+)

-- 
2.7.4


             reply	other threads:[~2016-10-20 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20 14:11 Brian Foster [this message]
2016-10-20 14:11 ` [RFC PATCH] xfs: fiemap support for cow fork Brian Foster
2016-10-20 14:11 ` [PATCH] xfs_io: use fiemap -c param to query " Brian Foster

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=1476972679-571-1-git-send-email-bfoster@redhat.com \
    --to=bfoster@redhat.com \
    --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 NNTP newsgroup(s).