Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect the need to increase buffer size on TrueNAS SCALE. #73

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

erikrose
Copy link
Contributor

@erikrose erikrose commented Jul 21, 2024

Without this, we fail to fetch any attr larger than 1 KB.

Motivation: enable restic to back up Mac resource forks on NAS volumes. Currently, it loses data with only an easy-to-miss stderr message.

Unfortunately, TrueNAS doesn't document this difference anywhere, if indeed it's their fault, but it's empirically what happens. This is on an OpenZFS volume with the xattr=sa property.

Thanks!

Without this, we fail to fetch any attr larger than 1 KB.

Motivation: enable restic to back up Mac resource forks on NAS volumes. Currently, it loses data with only an easy-to-miss stderr message.
@kuba-- kuba-- merged commit 0118b4a into pkg:master Jul 21, 2024
@erikrose
Copy link
Contributor Author

Thank you so much for the swift review!

tomponline referenced this pull request in canonical/lxd Jul 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/pkg/xattr](https://togithub.com/pkg/xattr) | `v0.4.9` ->
`v0.4.10` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpkg%2fxattr/v0.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpkg%2fxattr/v0.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpkg%2fxattr/v0.4.9/v0.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpkg%2fxattr/v0.4.9/v0.4.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pkg/xattr (github.com/pkg/xattr)</summary>

### [`v0.4.10`](https://togithub.com/pkg/xattr/releases/tag/v0.4.10)

[Compare
Source](https://togithub.com/pkg/xattr/compare/v0.4.9...v0.4.10)

#### What's Changed

- Fix FIFO handling on Solaris by
[@&#8203;greatroar](https://togithub.com/greatroar) in
[https://github.com/pkg/xattr/pull/70](https://togithub.com/pkg/xattr/pull/70)
- Add support for go 1.21 by
[@&#8203;kuba--](https://togithub.com/kuba--) in
[https://github.com/pkg/xattr/pull/72](https://togithub.com/pkg/xattr/pull/72)
- Detect the need to increase buffer size on TrueNAS SCALE. by
[@&#8203;erikrose](https://togithub.com/erikrose) in
[https://github.com/pkg/xattr/pull/73](https://togithub.com/pkg/xattr/pull/73)

#### New Contributors

- [@&#8203;erikrose](https://togithub.com/erikrose) made their first
contribution in
[https://github.com/pkg/xattr/pull/73](https://togithub.com/pkg/xattr/pull/73)

**Full Changelog**:
pkg/xattr@v0.4.9...v0.4.10

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/canonical/lxd).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants