Project

General

Profile

Actions

Bug #48241

open

librgw double read

Added by chunsong feng over 3 years ago. Updated over 2 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I test read a 3MB object with this rgw: Fix librgw end define patch,According to the logs, there are still two ops.
Line 377: #15 rgw::RGWLibFS::read (this=, rgw_fh=0xfffe747ef350, offset=0, length=262144, bytes_read=0xffff7033c910, buffer=0xfffe747f5000, flags=) at /home/rpmbuild/BUILD/ceph-14.2.12-3-gbda28912cf/src/rgw/rgw_file.cc:294
Line 419: #15 rgw::RGWLibFS::read (this=, rgw_fh=0xfffe747ef350, offset=1310720, length=1048576, bytes_read=0xffff7033c910, buffer=0xfffe74c8b000, flags=) at /home/rpmbuild/BUILD/ceph-14.2.12-3-gbda28912cf/src/rgw/rgw_file.cc:294
Line 463: #15 rgw::RGWLibFS::read (this=, rgw_fh=0xfffe747ef350, offset=262144, length=1048576, bytes_read=0xffff7044c910, buffer=0xfffdc47f2000, flags=) at /home/rpmbuild/BUILD/ceph-14.2.12-3-gbda28912cf/src/rgw/rgw_file.cc:294
Line 506: #15 rgw::RGWLibFS::read (this=, rgw_fh=0xfffe747ef350, offset=2359296, length=786432, bytes_read=0xffff583dc910, buffer=0xfffdbc003000, flags=) at /home/rpmbuild/BUILD/ceph-14.2.12-3-gbda28912cf/src/rgw/rgw_file.cc:294
Line 546: #12 rgw::RGWLibFS::read (this=, rgw_fh=0xfffe747ef350, offset=1310720, length=1048576, bytes_read=0xffff7033c910, buffer=0xfffe74c8b000, flags=) at /home/rpmbuild/BUILD/ceph-14.2.12-3-gbda28912cf/src/rgw/rgw_file.cc:294
Line 587: #12 rgw::RGWLibFS::read (this=, rgw_fh=0xfffe747ef350, offset=262144, length=1048576, bytes_read=0xffff7044c910, buffer=0xfffdc47f2000, flags=) at /home/rpmbuild/BUILD/ceph-14.2.12-3-gbda28912cf/src/rgw/rgw_file.cc:294
Line 627: #12 rgw::RGWLibFS::read (this=, rgw_fh=0xfffe747ef350, offset=2359296, length=786432, bytes_read=0xffff583dc910, buffer=0xfffdbc003000, flags=) at /home/rpmbuild/BUILD/ceph-14.2.12-3-gbda28912cf/src/rgw/rgw_file.cc:294


Files

double_read.txt (190 KB) double_read.txt chunsong feng, 11/16/2020 02:05 AM
Actions #1

Updated by Or Friedmann over 3 years ago

Is it possible to add the osd.log with debug_objclass 20 and debug_ms 1? (I want to see the cls call logs and the objecter calls)

Thank you

Actions #2

Updated by chunsong feng over 3 years ago

Or Friedmann wrote:

Is it possible to add the osd.log with debug_objclass 20 and debug_ms 1? (I want to see the cls call logs and the objecter calls)

Thank you

Okay, I'll test it with the master version tomorrow.

Actions #3

Updated by chunsong feng over 3 years ago

Or Friedmann wrote:

Is it possible to add the osd.log with debug_objclass 20 and debug_ms 1? (I want to see the cls call logs and the objecter calls)

Thank you

I run the ganesha on your master commit 3a34d64039a49d63803686a29fe3f99d46887d5c (prefetch/wip-ofriedma-test, prefetch/wip-ofriedma-range-prefetch2),librgw init failed,so the tests can not exec.
19/11/2020 18:05:47 : epoch 5fb64379 : node1 : ganesha.nfsd-1051852[main] create_export :FSAL :CRIT :RGW module: librgw init failed (-5)
19/11/2020 18:05:47 : epoch 5fb64379 : node1 : ganesha.nfsd-1051852[main] mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying FSAL RGW
19/11/2020 18:05:47 : epoch 5fb64379 : node1 : ganesha.nfsd-1051852[main] fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/) to (/)
19/11/2020 18:05:47 : epoch 5fb64379 : node1 : ganesha.nfsd-1051852[main] main :NFS STARTUP :WARN :No export entries found in configuration file !!!
19/11/2020 18:05:47 : epoch 5fb64379 : node1 : ganesha.nfsd-1051852[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/

Actions #4

Updated by Matt Benjamin over 3 years ago

Please be advised, librgw is somewhat broken on master, mostly due to zipper changes. The known issues are fixed in https://github.com/ceph/ceph/pull/37250

Nautilus should be fine.

Matt

Actions #5

Updated by Matt Benjamin over 3 years ago

Keep in mind that if you're seeing the same read dispatched from nfs-ganesha twice, it most likely was issued twice. In any case, you need to nail it down in nfs-ganesha.

Matt

Actions #6

Updated by Neha Ojha over 3 years ago

  • Project changed from RADOS to rgw
  • Category deleted (Dev Interfaces)
Actions #7

Updated by Casey Bodley over 2 years ago

  • Status changed from New to Need More Info
  • Assignee set to Matt Benjamin

Hi Matt, is there anything left to do here, or can we this close one?

Actions #8

Updated by Matt Benjamin over 2 years ago

suggest close

Matt

Actions

Also available in: Atom PDF