Summary: | sys-fs/zfs-0.6.5.3-r1 breaks reporting of inherited user properties | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Remy Blank <remy> |
Component: | [OLD] Core system | Assignee: | Richard Yao (RETIRED) <ryao> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | major | CC: | ryao |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://github.com/zfsonlinux/zfs/issues/4099 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Script demonstrating the issue |
Description
Remy Blank
2015-12-14 19:27:28 UTC
Created attachment 419202 [details]
Script demonstrating the issue
When running the script above with 0.6.5.3-r1, the output is the following. Note that the property is erroneously identified as "local" on test-pool/test/sub. dd if=/dev/zero of=test-pool.vol bs=1M count=64 64+0 records in 64+0 records out 67108864 bytes (67 MB) copied, 0.0663682 s, 1.0 GB/s zpool create -R $PWD test-pool $PWD/test-pool.vol cd test-pool zfs create test-pool/test zfs create test-pool/test/sub zfs set user:prop=parent test-pool/test zfs get user:prop test-pool/test NAME PROPERTY VALUE SOURCE test-pool/test user:prop parent local zfs get user:prop test-pool/test/sub NAME PROPERTY VALUE SOURCE test-pool/test/sub user:prop parent local zfs get -s inherited user:prop test-pool/test/sub zfs get -s local user:prop test-pool/test/sub NAME PROPERTY VALUE SOURCE test-pool/test/sub user:prop parent local cd .. zpool export test-pool When running it with 0.6.5.3, the output correctly shows the property as "inherited from test-pool/test". dd if=/dev/zero of=test-pool.vol bs=1M count=64 64+0 records in 64+0 records out 67108864 bytes (67 MB) copied, 0.100981 s, 665 MB/s zpool create -R $PWD test-pool $PWD/test-pool.vol cd test-pool zfs create test-pool/test zfs create test-pool/test/sub zfs set user:prop=parent test-pool/test zfs get user:prop test-pool/test NAME PROPERTY VALUE SOURCE test-pool/test user:prop parent local zfs get user:prop test-pool/test/sub NAME PROPERTY VALUE SOURCE test-pool/test/sub user:prop parent inherited from test-pool/test zfs get -s inherited user:prop test-pool/test/sub NAME PROPERTY VALUE SOURCE test-pool/test/sub user:prop parent inherited from test-pool/test zfs get -s local user:prop test-pool/test/sub cd .. zpool export test-pool Thanks for the report. I am prioritizing this and I should have it fixed within 48 hours or less. Thanks. I forgot to mention that downgrading to 0.6.5.3 fixes the issue, so there's no urgency (at least on my side). Interestingly, it turns out to be order dependent. openzfs ~ # zfs create o3xpool/foo2 openzfs ~ # zfs create o3xpool/foo2/bar2 openzfs ~ # zfs set myuser:myprop=myparent o3xpool/foo2 openzfs ~ # zfs get myuser:myprop o3xpool/foo2 NAME PROPERTY VALUE SOURCE o3xpool/foo2 myuser:myprop myparent local openzfs ~ # zfs get myuser:myprop o3xpool/foo2/bar2 NAME PROPERTY VALUE SOURCE o3xpool/foo2/bar2 myuser:myprop myparent local openzfs ~ # zfs create o3xpool/foo2/bar3 openzfs ~ # zfs get myuser:myprop o3xpool/foo2/bar3 NAME PROPERTY VALUE SOURCE o3xpool/foo2/bar3 myuser:myprop myparent inherited from o3xpool/foo2 Remy, I decided to batch this with some other issues after your response and neglected to post that I did confirm that I could not reproduce it on the latest code from the stable API branch after doing some other fixes: https://github.com/zfsonlinux/zfs/pull/3907 I cannot reproduce this on 0.6.5.3-r2, which I am preparing to push out. I suspect that this is fixed there. sys-fs/zfs-kmod-0.6.5.3-r2 was released yesterday. |