summaryrefslogtreecommitdiff
path: root/internal/cryptocore/hkdf_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-07-02 23:54:37 +0200
committerJakob Unterwurzacher2018-07-02 23:54:37 +0200
commit893e41149ed353f355047003b89eeff456990e76 (patch)
tree86c7708ca3adbb49b6cbc53d410645160fcb2610 /internal/cryptocore/hkdf_test.go
parentc51fc9e07d287a95ce70b9fd8de8ea09a1d934c2 (diff)
fusefrontend: disallow O_DIRECT and fall back to buffered IO
O_DIRECT accesses must be aligned in both offset and length. Due to our crypto header, alignment will be off, even if userspace makes aligned accesses. Running xfstests generic/013 on ext4 used to trigger lots of EINVAL errors due to missing alignment. Just fall back to buffered IO.
Diffstat (limited to 'internal/cryptocore/hkdf_test.go')
0 files changed, 0 insertions, 0 deletions