Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1842199

Summary: [RFE] asynchronous create/unlink metadata operations in CephFS
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Patrick Donnelly <pdonnell>
Component: CephFSAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: low Docs Contact: Ranjini M N <rmandyam>
Priority: medium    
Version: 5.0CC: andrej.filipcic, ceph-eng-bugs, jlayton, kdreyer, rmandyam, sweil, vereddy
Target Milestone: ---Keywords: FutureFeature, TestOnly
Target Release: 5.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
.Asynchronous creation and removal of metadata operations in the Ceph File System With this release, {os-product} 8.4 kernel mounts now asynchronously execute file creation and removal on {storage-product} clusters. This improves performance of some workloads by avoiding round-trip latency for these system calls without impacting consistency. Use the new `-o nowsync` mount option to enable asynchronous file creation and deletion.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:25:30 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: 1932753    
Bug Blocks: 1959686    

Description Patrick Donnelly 2020-05-30 23:38:33 UTC
New functionality in the kernel (RHEL8) and MDS allows for doing some metadata operations asynchronously. More information here:

https://tracker.ceph.com/issues/38951

and the new "nowsync" mount option:

https://docs.ceph.com/docs/master/man/8/mount.ceph/#advanced

This is a test-only BZ.

Comment 2 Ken Dreyer (Red Hat) 2020-07-22 16:59:07 UTC
Jeff confirmed that all the userland parts of this already upstream in 15.2.4, which we're already building, so this is TestOnly at this point.

Comment 4 Jeff Layton 2021-02-09 17:59:46 UTC
Take heed that this will need to be tested using RHEL-8.3.0 or later kernels. To use this, you'll need to mount with "-o nowsync".

Comment 5 Andrej Filipcic 2021-03-12 09:20:07 UTC
Was this already tested on RHEL8.3 4.18.0-240.el8.x86_64 kernel? I have tried it and it freezes the system.

Comment 17 errata-xmlrpc 2021-08-30 08:25:30 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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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/RHBA-2021:3294