s3: Avoid some transaction_commit on gencache.tdb