linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* revisiting "Hard link across subvolumes"
@ 2010-10-09  7:52 David Nicol
  2010-10-09 13:44 ` Goffredo Baroncelli
  0 siblings, 1 reply; 4+ messages in thread
From: David Nicol @ 2010-10-09  7:52 UTC (permalink / raw)
  To: kreijack; +Cc: linux-btrfs

could i-node numbers be made unique on a whole device, or somehow
adjusted to avoid collisions, instead of simply disallowing this
useful operation?

On Thu, Oct 7, 2010 at 4:13 PM, Goffredo Baroncelli <kreijack@libero.it=
> wrote:

> The link across subvolumes is not allowable. =C2=A0In the beginning i=
t was
> possible, but that was source of bugs. See the thread "Hard link acro=
ss
> subvolumes"
>
> http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg03286.html
--
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

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

* Re: revisiting "Hard link across subvolumes"
  2010-10-09  7:52 revisiting "Hard link across subvolumes" David Nicol
@ 2010-10-09 13:44 ` Goffredo Baroncelli
  2010-10-09 19:26   ` David Nicol
  0 siblings, 1 reply; 4+ messages in thread
From: Goffredo Baroncelli @ 2010-10-09 13:44 UTC (permalink / raw)
  To: David Nicol; +Cc: linux-btrfs

On Saturday, 09 October, 2010, you (David Nicol) wrote:
> could i-node numbers be made unique on a whole device, or somehow
> adjusted to avoid collisions, instead of simply disallowing this
> useful operation?

In case of a snapshot make sense to preserve the inode number.

> On Thu, Oct 7, 2010 at 4:13 PM, Goffredo Baroncelli <kreijack@libero.it> 
wrote:
> 
> > The link across subvolumes is not allowable.  In the beginning it was
> > possible, but that was source of bugs. See the thread "Hard link across
> > subvolumes"
> >
> > http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg03286.html
> 


-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

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

* Re: revisiting "Hard link across subvolumes"
  2010-10-09 13:44 ` Goffredo Baroncelli
@ 2010-10-09 19:26   ` David Nicol
  0 siblings, 0 replies; 4+ messages in thread
From: David Nicol @ 2010-10-09 19:26 UTC (permalink / raw)
  Cc: linux-btrfs

when i have some time to work on this I will figure out a way to pull
inodes from a larger pool or include the subvolume id at creation time
in them or something so that the collisions go away. Surely it must be
possible to prefix or suffix the inode number with a few bits that are
per-subvolume unique.

On Sat, Oct 9, 2010 at 8:44 AM, Goffredo Baroncelli <kreijack@libero.it=
> wrote:
>
> In case of a snapshot make sense to preserve the inode number.



--=20
l'=C3=A9galit=C3=A9 des droits pour les ambidextres
--
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

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

* Re: revisiting "Hard link across subvolumes"
@ 2010-10-10 19:53 Tomasz Chmielewski
  0 siblings, 0 replies; 4+ messages in thread
From: Tomasz Chmielewski @ 2010-10-10 19:53 UTC (permalink / raw)
  To: linux-btrfs

>> The link across subvolumes is not allowable.  In the beginning it was
>> possible, but that was source of bugs. See the thread "Hard link across
>> subvolumes"
>>
>> http://www.mail-archive.com/linux-btrfs <at> vger.kernel.org/msg03286.html

Similar for cp --reflink across subvolumes - also won't work.

If btrfs is to support deduplication one day, it has to work across 
subvolumes - otherwise, it won't be very useful.


-- 
Tomasz Chmielewski
http://wpkg.org


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

end of thread, other threads:[~2010-10-10 19:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-09  7:52 revisiting "Hard link across subvolumes" David Nicol
2010-10-09 13:44 ` Goffredo Baroncelli
2010-10-09 19:26   ` David Nicol
  -- strict thread matches above, loose matches on Subject: below --
2010-10-10 19:53 Tomasz Chmielewski

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).