Project

General

Profile

Actions

Bug #2657

closed

kclient: direct io write larger than 8MiB fails

Added by Josh Durgin almost 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
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
Actions #1

Updated by Sage Weil about 11 years ago

  • Project changed from Ceph to CephFS
Actions #2

Updated by Sage Weil about 11 years ago

  • Status changed from 12 to Resolved
Actions #3

Updated by Sage Weil about 11 years ago

in testing, there is now a test workunit

Actions

Also available in: Atom PDF