[sheepdog] [PATCH stable-0.7 1/2] fix error-io in sheepfs when using ext4 filesystem

Liu Yuan namei.unix at gmail.com
Tue Aug 27 04:10:05 CEST 2013


On Mon, Aug 26, 2013 at 11:43:10PM +0900, Hitoshi Mitake wrote:
> From: Robin Dong <sanbai at taobao.com>
> 
> When using ext4 filesystem on sheepfs volumes, it will print kern message:
> 
> 	[171972.794292] io-error-guard: catch 1 continuous bio error.
> 	[171977.699795] io-error-guard: catch 2 continuous bio errors.
> 	[171977.707797] Aborting journal on device loop0-8.
> 	[171978.162038] EXT4-fs error (device loop0): ext4_journal_start_sb: Detected aborted journal
> 	[171978.170034] EXT4-fs (loop0): Remounting filesystem read-only
> 
> The reason is sheepfs process FLUSH opcode incorrectly. If the sheep daemon dose not
> support FLUSH, sheepfs should explicitly set sheepfs_object_cache to 'false' and return
> success, not return error.
> 
> Signed-off-by: Robin Dong <sanbai at taobao.com>
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---

This should go to stable-0.6 too

Thanks
Yuan



More information about the sheepdog mailing list