Re: [ANNOUNCE] Ramback: faster than a speeding bullet

From: Daniel Phillips
Date: Mon Mar 10 2008 - 04:24:04 EST


On Monday 10 March 2008 00:51, Grzegorz Kulewski wrote:
> > If UPS power runs out while ramback still holds unflushed dirty data
> > then things get ugly. Hopefully a fsck -f will be able to pull
> > something useful out of the mess. (This is where you might want to be
> > running Ext3.) The name of the game is to install sufficient UPS power
> > to get your dirty ramdisk data onto stable storage this time, every
> > time.
>
> Are you using barriers or ordered disk writes with physical sync in the
> right moments or something like that? I think this is needed to allow any
> journaling filesystem to do it's job right.

Usual block device semantics are preserved so long as UPS power does
not run out before emergency writeback completes. It is not possible
to order writes to the backing store and still deliver ramdisk level
write latency to the application.

After the emergency writeback completes, ramback is supposed to
behave just like a physical disk (with respect to writes - reads will
still have ramdisk level latency). No special support is provided
for barriers. It is not clear that anything special is needed.

Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/