[dm-devel] How does dm-thinp handle the our of space error?

Heinz Mauelshagen heinzm at redhat.com
Wed Mar 9 08:56:19 UTC 2011


On Wed, 2011-03-09 at 11:59 +0800, Xie Gang wrote:
> Hi,
>  
> The storage may run out of space and could not provision the space.
> So, how does thinp handle such error since thinp is transparent to
> uper layer filesystem?

It either postpones the bios until userspace has reacted growing the
pool _or_ it errors the ios depending on the related policy set.

This is defined by constructore parameter
 * 4: policy = "error|postpone":
 *             if pool runs full, bios will be errored or postponed
 *             (ie. application writes will stall)

Heinz

>  
> Thanks,
> 
> -- 
> Xie Gang
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel





More information about the dm-devel mailing list