Bug #2657
kclient: direct io write larger than 8MiB fails
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Writes larger than 8MiB get EFAULT, e.g.:
ubuntu@plana62:~$ sudo dd if=/dev/zero of=mnt/directio bs=8M count=1 oflag=direct 1+0 records in 1+0 records out 8388608 bytes (8.4 MB) copied, 0.20392 s, 41.1 MB/s ubuntu@plana62:~$ sudo dd if=/dev/zero of=mnt/directio bs=9M count=1 oflag=direct dd: writing `mnt/directio': Bad address 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.217948 s, 0.0 kB/s ubuntu@plana62:~$ sudo dd if=/dev/zero of=mnt/directio bs=16M count=1 oflag=direct dd: writing `mnt/directio': Bad address 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.218954 s, 0.0 kB/s
History
#1 Updated by Sage Weil over 10 years ago
- Project changed from Ceph to CephFS
#2 Updated by Sage Weil over 10 years ago
- Status changed from 12 to Resolved
#3 Updated by Sage Weil over 10 years ago
in testing, there is now a test workunit