Re: [PATCH 01/15] Make return value type of fio_getaffinity() consistent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you !

2016-07-27 23:30 GMT+09:00 Jens Axboe <axboe@xxxxxxxxx>:
> On Wed, Jul 27 2016, Tomohiro Kusumi wrote:
>> Return type of fio_getaffinity() isn't consistent among supported OS.
>> Windows and DragonFlyBSD return void while FreeBSD version is int.
>> The default version for those that don't support is do{}while(0).
>>
>> Linux version is a macro for sched_getaffinity(2) which returns 0
>> on success and -1 otherwise, so others should basically follow that.
>>
>> Note that I haven't compiled this on Windows, but it shouldn't fail.
>
> Thanks, applied this and the rest, except for the one I commented on.
>
> --
> Jens Axboe
>
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux