From: Anand Jain <anand.jain@oracle.com>
To: Joseph Dunn <jdunn14@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: btrfs seed question
Date: Thu, 12 Oct 2017 12:18:01 +0800 [thread overview]
Message-ID: <ff596f2f-7232-4ee0-7967-6888236cc831@oracle.com> (raw)
In-Reply-To: <20171011204759.1848abd7@olive.ig.local>
On 10/12/2017 08:47 AM, Joseph Dunn wrote:
> After seeing how btrfs seeds work I wondered if it was possible to push
> specific files from the seed to the rw device. I know that removing
> the seed device will flush all the contents over to the rw device, but
> what about flushing individual files on demand?
>
> I found that opening a file, reading the contents, seeking back to 0,
> and writing out the contents does what I want, but I was hoping for a
> bit less of a hack.
>
> Is there maybe an ioctl or something else that might trigger a similar
> action?
You mean to say - seed-device delete to trigger copy of only the
specified or the modified files only, instead of whole of seed-device ?
What's the use case around this ?
Thanks, Anand
> Thanks,
> -Joseph
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2017-10-12 4:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-12 0:47 btrfs seed question Joseph Dunn
2017-10-12 4:18 ` Anand Jain [this message]
2017-10-12 13:20 ` Joseph Dunn
2017-10-12 14:32 ` Chris Murphy
2017-10-12 14:44 ` Joseph Dunn
2017-10-12 15:30 ` Chris Murphy
2017-10-12 15:50 ` Joseph Dunn
2017-11-03 8:03 ` Kai Krakow
2017-10-12 15:55 ` Austin S. Hemmelgarn
2017-10-13 2:52 ` Anand Jain
2017-11-03 7:56 ` Kai Krakow
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=ff596f2f-7232-4ee0-7967-6888236cc831@oracle.com \
--to=anand.jain@oracle.com \
--cc=jdunn14@gmail.com \
--cc=linux-btrfs@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).