[sheepdog] [PATCH] sheep: read journal head first in journal_recover
levin li
levin108 at gmail.com
Thu Jul 5 08:29:21 CEST 2012
On 2012年07月05日 14:19, Liu Yuan wrote:
> On 07/05/2012 02:18 PM, levin li wrote:
>> I think pread64 is OK for regular files, as the manual says only in
>> the following conditions the number of bytes read may be less than
>> the number of bytes requested:
>>
>> 1. The number of bytes left in the file is less than the requested length.
>> 2. The read() was interrupted by a signal.
>
> So why don't handle signal?
>
> Thanks,
> Yuan
>
If a signal interrupts pread, I guess it also interrupts sheep.
thanks,
levin
More information about the sheepdog
mailing list