sop block driver: handle REQ_FLUSH with data xfer correctly.

for a bio which has both a data xfer and REQ_FLUSH flag set,
we have to first do the SYNC CACHE (possibly retrying it) and
if it completes successfully, then do the data xfer (possibly
retrying it).