Bug #2657

kclient: direct io write larger than 8MiB fails

Added by Josh Durgin 11 months ago. Updated about 1 month ago.

Status:ResolvedStart date:06/21/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-Spent time:-
Target version:-
Source:Community (user) Severity:
Backport: Reviewed:
Tags:

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 2 months ago

  • Project changed from Ceph to fs

#2 Updated by Sage Weil about 1 month ago

  • Status changed from Verified to Resolved

#3 Updated by Sage Weil about 1 month ago

in testing, there is now a test workunit

Also available in: Atom PDF