On 27.09.24 12:53, Andrey Zhadchenko wrote:

After our discussion today some changes came up.

With this patchset, we start to check if the upcoming requests for ploop
have REQ_FUA flag.
If the flag is present, the behaviour is the same as before:
  - IO waits for BAT update
  - BAT updates submit immediately
  - every BAT update triggers flush
If the flag is absent:
  - IO does not wait for BAT update
  - all BAT updates are periodically submitted in a batch
  - BAT update does not trigger flush

New parameter with metadata submit delay can be specified when setting
up ploop table

Andrey Zhadchenko (3):
   dm-ploop: do not flush BAT writes if request was not FUA
   dm-ploop: do not wait for BAT update for non-FUA requests
   dm-ploop: add delay for metadata writeback

  drivers/md/dm-ploop-bat.c    |  1 +
  drivers/md/dm-ploop-map.c    | 52 +++++++++++++++++++++++++++++++-----
  drivers/md/dm-ploop-target.c | 11 ++++++++
  drivers/md/dm-ploop.h        |  8 ++++++
  4 files changed, 65 insertions(+), 7 deletions(-)


--
Regards,
Alexander Atanasov

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to