trans_logger: call _flush_inputs() more often

The old behaviour could lead to starvation effects.
In particular, direct IO writes were affected.
if: improve performance of big bio requests

Writethrough of bio requests having more than one biovec should
only sync the last one. The others will be written to the transaction
log anyway. No need to wait for each of them to be committed one
by one.