Project

General

Profile

Actions

Cleanup #50149

closed

client: always register callbacks before mount()

Added by Xiubo Li about 3 years ago. Updated almost 3 years ago.

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

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
libcephfs
Labels (FS):
Pull request ID:

Description

Make Client::ll_register_callbacks() return 'int' type value instead
and return negative errno if not successful.

With this we can be sure that the callbacks won't change after the
client is mounted. Thus it can also help get rid of the client_lock.
And the inode lock patches followed in future they can benefit from
it too.

Actions #1

Updated by Patrick Donnelly almost 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF