Linux Device Mapper development
 help / color / mirror / Atom feed
* How does dm-thinp handle the our of space error?
@ 2011-03-09  3:59 Xie Gang
  2011-03-09  8:56 ` Heinz Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Xie Gang @ 2011-03-09  3:59 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 186 bytes --]

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?

Thanks,

-- 
Xie Gang

[-- Attachment #1.2: Type: text/html, Size: 273 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How does dm-thinp handle the our of space error?
  2011-03-09  3:59 How does dm-thinp handle the our of space error? Xie Gang
@ 2011-03-09  8:56 ` Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2011-03-09  8:56 UTC (permalink / raw)
  To: device-mapper development

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@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-09  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09  3:59 How does dm-thinp handle the our of space error? Xie Gang
2011-03-09  8:56 ` Heinz Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox