[Devel] [PATCH rh7 0/4] ploop: clean up fsync mess

Maxim Patlasov mpatlasov at virtuozzo.com
Wed May 18 18:22:22 PDT 2016


There are too many fsync functions in ploop. The patch set gets rid of
FOP_FSYNC and dio_fsync by accepting the following assumptions:

1) We don't support old kernels (like <2.6.32)
2) We don't support host file systems without fsync fop

---

Maxim Patlasov (4):
      ploop: get rid of FOP_FSYNC
      ploop: io_direct: check for fsync fop on startup
      ploop: get rid of dio_fsync()
      ploop: get rid of direct calls to file->f_op->fsync()


 drivers/block/ploop/io_direct.c |   77 +++++++++++++++++++--------------------
 include/linux/ploop/compat.h    |    6 ---
 2 files changed, 37 insertions(+), 46 deletions(-)

--
Signature


More information about the Devel mailing list