commit | 3d6bcae84c5f55a82dc0056e3d7da33bee3f00b9 | [log] [tgz] |
---|---|---|
author | Ondrej Kozina <okozina@redhat.com> | Wed Sep 17 16:38:39 2014 +0200 |
committer | Milan Broz <gmazyland@gmail.com> | Tue Sep 23 18:47:02 2014 +0200 |
tree | 2bc761b05a7f468e8ff16cc095f5ad6ff739ddbb | |
parent | b8beedb621494faea1116543a83173cd8999853a [diff] |
reencrypt: use fsync instead of O_DIRECT flag O_DIRECT operations directed towards filesystem are problematic: There's no sane way how to detect specific filesystem requirements for such operations. This patch is replacing O_DIRECT flag with O_SYNC flag for all open() calls related to reencrypt log. The O_SYNC flag is used when --use-fsync option is detected. Man page is modified accordingly.