Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2018 15:31:24 +0000
From:      Dave Baukus <daveb@spectralogic.com>
To:        Andriy Gapon <avg@FreeBSD.org>, "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: ZFS file in a snapshot with a link count of 0
Message-ID:  <f94412e7-377c-5413-d51c-b7f8eb782f83@spectralogic.com>
In-Reply-To: <9c88705f-8af5-bf03-aa6b-fe4ecbad50e8@FreeBSD.org>
References:  <dcf02d30-a871-a5e4-b893-8eb85e8d8fd1@spectralogic.com> <9c88705f-8af5-bf03-aa6b-fe4ecbad50e8@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
T24gMDYvMjIvMjAxOCAwMTowMCBBTSwgQW5kcml5IEdhcG9uIHdyb3RlOg0KPiBPbiAyMi8wNi8y
MDE4IDAyOjI1LCBEYXZlIEJhdWt1cyB3cm90ZToNCj4+IE9uIGEgWkZTIHJ1bm5pbmcgc29tZXRo
aW5nIHZlcnkgY2xvc2UgdG8gMTEuMC1TVEFCTEUgRnJlZUJTRCwgSSBhbSBhYmxlIHRvIGdldCBh
DQo+PiBmaWxlIHdpdGggYSBsaW5rIGNvdW50IG9mIDAgaW50byBhIHNuYXBzaG90LiBJZiB0aGlz
IGZpbGUgYWxzbyBoYXMgYW4gZXh0YXR0ciBhdHRhY2hlZCB0byBpdCB0aGVuDQo+PiB0aGlzIGZp
bGUgYXBwZWFycyB0byBicmVhayB6ZnMgZGlmZi4NCj4+DQo+PiBUaGUgbWFpbiBxdWVzdGlvbiBp
czogc2hvdWxkIGEgZmlsZSB3aXRoIGEgbGluayBjb3VudCBvZiAwIGdldCBpbnRvIHRoZSBzbmFw
IHNob3QgPw0KPiBZZXMuICBUaGUgZmlsZSBpcyBvbiBkaXNrLCBzbyBpdCdzIGluIHRoZSBzbmFw
c2hvdCBhcyB3ZWxsLg0KPg0KPj4gIw0KPj4gemZzIGRpZmYgcG9vbDAvdm9sMEBzbmFwRjEgc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