Implement stacked writes. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
mentioned in commit 898cc19d