Project

General

Profile

Actions

Bug #2217

closed

sync and O_DIRECT writes only write first extent in iov vector

Added by Sage Weil about 12 years ago. Updated over 10 years ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

static ssize_t ceph_aio_write(struct kiocb *iocb, const struct iovec *iov,
unsigned long nr_segs, loff_t pos)

...calls...

ret = ceph_sync_write(file, iov->iov_base, iov->iov_len,
&iocb->ki_pos);

only writing the first buffer extent!

Actions

Also available in: Atom PDF