FreeBSD Bugzilla – Attachment 213772 Details for
Bug 245898
databases/rrdtool: rrdtool resize does not work on zfs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch for rrdtool-1.7.2_2
patch-src_rrd__open.c (text/plain), 504 bytes, created by
Tomohiro Hosaka
on 2020-04-25 09:11:14 UTC
(
hide
)
Description:
patch for rrdtool-1.7.2_2
Filename:
MIME Type:
Creator:
Tomohiro Hosaka
Created:
2020-04-25 09:11:14 UTC
Size:
504 bytes
patch
obsolete
>--- src/rrd_open.c.orig 2019-05-27 18:48:09 UTC >+++ src/rrd_open.c >@@ -363,7 +363,9 @@ rrd_file_t *rrd_open( > */ > int fret = > posix_fallocate(rrd_simple_file->fd, 0, newfile_size); >- if (fret) { >+ if (fret == EINVAL) { >+ /* ZFS returns EINVAL error 22 on posix_allocate */ >+ } else if (fret) { > rrd_set_error("posix_fallocate '%s': %s", file_name, > rrd_strerror(fret)); > goto out_close;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 245898
: 213772