On 2017-Nov-4, at 4:58 AM, Ed Maste wrote:
> On 4 November 2017 at 07:41, Andriy Gapon wrote:
>> On 04/11/2017 12:32, Mark Millard wrote:
>>> if (int Err = ::posix_fallocate(FD, 0, Size)) {
>>>if (Err != EOPNOTSUPP)
>>> return std::error_code(Err, std::generic_category());
>>> }
>>
[The patch allowed the amd64 -> aarch64 cross-buildworld
to complete instead of failing in lld.]
On 2017-Nov-4, at 10:13 AM, Mark Millard wrote:
> On 2017-Nov-4, at 10:02 AM, Mark Millard wrote:
>
>
>> On 2017-Nov-4, at 4:58 AM, Ed Maste wrote:
>>
>>> On 4 November 2017 at 07:41, Andriy Gap
On 2017-Nov-4, at 10:02 AM, Mark Millard wrote:
> On 2017-Nov-4, at 4:58 AM, Ed Maste wrote:
>
>> On 4 November 2017 at 07:41, Andriy Gapon wrote:
>>> On 04/11/2017 12:32, Mark Millard wrote:
if (int Err = ::posix_fallocate(FD, 0, Size)) {
if (Err != EOPNOTSUPP)
return st
On 2017-Nov-4, at 4:58 AM, Ed Maste wrote:
> On 4 November 2017 at 07:41, Andriy Gapon wrote:
>> On 04/11/2017 12:32, Mark Millard wrote:
>>> if (int Err = ::posix_fallocate(FD, 0, Size)) {
>>>if (Err != EOPNOTSUPP)
>>> return std::error_code(Err, std::generic_category());
>>> }
>>
On 2017-Nov-4, at 5:04 AM, Andriy Gapon wrote:
> On 04/11/2017 13:41, Andriy Gapon wrote:
>> On 04/11/2017 12:32, Mark Millard wrote:
>>> if (int Err = ::posix_fallocate(FD, 0, Size)) {
>>>if (Err != EOPNOTSUPP)
>>> return std::error_code(Err, std::generic_category());
>>> }
>>
>> The
On 04/11/2017 13:58, Ed Maste wrote:
> I have no idea how they decided EINVAL was a reasonable errno for this case.
I completely agree. That's a weird choice that I have not seen for any other
API.
--
Andriy Gapon
___
freebsd-current@freebsd.org mail
On 04/11/2017 13:41, Andriy Gapon wrote:
> On 04/11/2017 12:32, Mark Millard wrote:
>> if (int Err = ::posix_fallocate(FD, 0, Size)) {
>> if (Err != EOPNOTSUPP)
>> return std::error_code(Err, std::generic_category());
>> }
>
> The commit message that you didn't include into your repl
On 4 November 2017 at 07:41, Andriy Gapon wrote:
> On 04/11/2017 12:32, Mark Millard wrote:
>> if (int Err = ::posix_fallocate(FD, 0, Size)) {
>> if (Err != EOPNOTSUPP)
>> return std::error_code(Err, std::generic_category());
>> }
>
> The commit message that you didn't include into y
On 04/11/2017 12:32, Mark Millard wrote:
> if (int Err = ::posix_fallocate(FD, 0, Size)) {
> if (Err != EOPNOTSUPP)
> return std::error_code(Err, std::generic_category());
> }
The commit message that you didn't include into your reply contains some useful
information that authors / m
> Author: avg
> Date: Thu Nov 2 13:49:08 2017
> New Revision: 325320
> URL:
> https://svnweb.freebsd.org/changeset/base/325320
>
>
> Log:
> Disable posix_fallocate(2) for ZFS
> . . .
Turns out lld uses fallocate and so can fail
on zfs now.
The following is the lld for a amd64 -> aarch64
cro
10 matches
Mail list logo