[Devel] [RFC PATCH vz9 v6 56/62] dm-ploop: support REQ_FUA for data pios

Alexander Atanasov alexander.atanasov at virtuozzo.com
Fri Dec 13 16:12:33 MSK 2024


On 13.12.24 14:58, Andrey Zhadchenko wrote:
> No, REQ_FUA does not oblige us to make sync. REQ_FUA is translated into 
> IOCB_DSYNC. It is IOCB layer job to datasync this exact request.
> Also REQ_FUA usually is coupled with REQ_PREFLUSH and we already handle 
> that.
> 

We do this only for metadata in previous patches - pure data pios do not 
handle it. And you are right about REQ_PREFLUSH but i think the vfs 
layer will handle it along the sync - which is translated to PREFLUSH+FUA

-- 
Regards,
Alexander Atanasov



More information about the Devel mailing list