Project

General

Profile

Actions

Feature #15107

closed

kcephfs: be less pessimistic about rcu walk in d_revalidate

Added by Sage Weil about 8 years ago. Updated about 7 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Al says:

BTW, looks like ceph is too pessimistic
about bailing out of RCU mode on ->d_revalidate(), might be worth looking
into at some point...

static int ceph_d_revalidate(struct dentry *dentry, unsigned int flags)
{
    int valid = 0;
    struct inode *dir;

    if (flags & LOOKUP_RCU)
        return -ECHILD;

dating from 34286d666 (2.6.38).
Actions

Also available in: Atom PDF