]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: pohmelfs: transaction layer.
authorEvgeniy Polyakov <zbr@ioremap.net>
Mon, 9 Feb 2009 14:02:41 +0000 (17:02 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:35 +0000 (14:53 -0700)
commitc09ee9d206994655d55de60222a3024702ad2055
treee3900874413089014609c8a0086198697df24448
parentd35eef1b42befc74b33c47de46b37a0370622ec2
Staging: pohmelfs: transaction layer.

This patch implements transaction processing helpers
used to allocate/free/insert/remove and other operations
with the transctions.

Each transction is an object, which may embed multiple commands
completed atomically. When server fails the whole transaction will be
replied against it (or different server) later. This approach allows to
maintain high data integrity and do not desynchronize filesystem state
in case of network or server failures.

Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/pohmelfs/trans.c [new file with mode: 0644]