[sheepdog] [PATCH] sheep: read journal head first in journal_recover

Liu Yuan namei.unix at gmail.com
Thu Jul 5 08:19:38 CEST 2012


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




More information about the sheepdog mailing list