Bug 2331338

Summary: cephfs-mirror: eliminate redundant ceph_close() call
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Jos Collin <jcollin>
Component: CephFSAssignee: Jos Collin <jcollin>
Status: CLOSED ERRATA QA Contact: sumr
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 8.0CC: ceph-eng-bugs, cephqe-warriors, gfarnum, ngangadh, rpollack, sumr, tserlin, vshankar
Target Milestone: ---Flags: ngangadh: needinfo?
ngangadh: needinfo? (vshankar)
gfarnum: needinfo? (vshankar)
gfarnum: needinfo? (vshankar)
Target Release: 8.0z3   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-19.2.0-114.el9cp Doc Type: Bug Fix
Doc Text:
.Mirroring client logs no longer shows a `Bad file descriptor` error during mirroring Previously, redundant `ceph_close()` calls in the code caused client logs to emit a `Bad file descriptor` error during mirroring. With this fix, the redundant calls are removed, and the client logs no longer emit the `Bad file descriptor` error during mirroring.
Story Points: ---
Clone Of:
: 2336404 (view as bug list) Environment:
Last Closed: 2025-04-07 15:25:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2336404    

Description Jos Collin 2024-12-10 11:19:09 UTC
Description of problem:
The patch https://github.com/ceph/ceph/pull/60667 eliminates redundant ceph_close calls. Need to backport this to RHCS 8.0, as https://bugzilla.redhat.com/show_bug.cgi?id=2301912 is already merged to 8.0.

Version-Release number of selected component (if applicable):
8.0

How reproducible:
Always

Steps to Reproduce:
1. Check for 'Bad file descriptor' in the client logs.
2.
3.

Actual results:


Expected results:
'Bad file descriptor' shouldn't appear in the client logs.

Additional info:

Comment 19 errata-xmlrpc 2025-04-07 15:25:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2025:3635