Project

General

Profile

Actions

Fix #47983

closed

mds: use proper gather for inode commit ops

Added by Erqi Chen over 3 years ago. Updated over 3 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
octopus,nautilus
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Improvement for CInode::_commit_ops.

MDS journal handles inodes concurrently by CInode::_commit_ops, fin is C_Gather, so no need to create new C_OnFinisher in gather.

And fin can be Context rather than MDSContext to avoid unnecessary MDS lock.

Actions

Also available in: Atom PDF