Project

General

Profile

Actions

Feature #39129

closed

create mechanism to delegate ranges of inode numbers to client

Added by Jeff Layton about 5 years ago. Updated over 4 years ago.

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

0%

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

Description

Create a mechanism by which we can hand out ranges of inode numbers to MDS clients. The clients can then use those to fully instantiate inodes in memory and then flush them back to the server.

We already allocate a range of inode numbers for each client in the prealloc_inos interval set inside the MDS. What may be easiest is to just hand out smaller pieces of that range to the client via some new mechanism.

I'm not sure if we need new messages for this, or whether we could extend some existing messages to contain the set. We probably would want these in MClientReply (so we could replenish the client when we are responding to a create). Maybe we could update the client via other mechanisms too? I'm not sure what would work best here yet.

For now, the client can just ignore these ranges.


Related issues 2 (0 open2 closed)

Related to CephFS - Feature #24461: cephfs: improve file create performance buffering file unlink/create operationsResolvedJeff Layton

Actions
Related to CephFS - Feature #38951: client: implement asynchronous unlink/createResolvedZheng Yan

Actions
Actions

Also available in: Atom PDF