wrap all pstore ops into transactions