Re: [PATCH] block, bfq: return nbytes and not zero from struct cftype .write() method

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

 



On 16.08.2018 21:11, Jens Axboe wrote:
> On 8/15/18 3:56 PM, Maciej S. Szmigiero wrote:
>> The value that struct cftype .write() method returns is then directly
>> returned to userspace as the value returned by write() syscall, so it
>> should be the number of bytes actually written (or consumed) and not zero.
>>
>> Returning zero from write() syscall makes programs like /bin/echo or bash
>> spin.
> 
> Applied, thanks.

Thanks.

> Just a heads-up that gmail thinks your email is spam.

Thanks for the information - it looks like gmail just doesn't like my
email server for some reason.

Maciej



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux