Bug #2657
kclient: direct io write larger than 8MiB fails
| Status: | Resolved | Start date: | 06/21/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due 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
#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