Project

General

Profile

Bug #42056

rgw: librgw write wrongly closed in NFS3

Added by Chenjiong Deng 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

We mount nfs via librgw, then dd test on export directory.

[root@dev]# mount -t nfs -o noauto,noacl,soft,nfsvers=3,proto=tcp,nolock,sync xxx:/ /mnt

But dd has a write error:

You can see that the offset is not ordered:

Both the dd sequential write and the FIO sequential write can reproduce the nfs3_write problem.
When bs is no more than 1MB, dd and FIO have no recurring problems after multiple tests, and bs>=2MB will reproduce the problem.

dd.jpeg View (54.2 KB) Chenjiong Deng, 09/26/2019 07:11 AM

offseterror.jpeg View (339 KB) Chenjiong Deng, 09/26/2019 07:16 AM

History

#1 Updated by Chenjiong Deng 5 months ago

Based on tests, Luminous,Mimic,Nautilus,they all have this problem.

#2 Updated by Nathan Cutler 5 months ago

  • Backport set to nautilus, mimic, luminous

#3 Updated by Casey Bodley 5 months ago

  • Assignee set to Matt Benjamin

Also available in: Atom PDF