]> Git Repo - linux.git/commitdiff
NFS: trace the uniquifier of fscache
authorChen Hanxiao <[email protected]>
Wed, 6 Mar 2024 09:39:02 +0000 (17:39 +0800)
committerTrond Myklebust <[email protected]>
Sat, 9 Mar 2024 14:14:51 +0000 (09:14 -0500)
Trace the mount option fsc=xxx.

Signed-off-by: Chen Hanxiao <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
fs/nfs/fs_context.c

index 853e8d609bb3bcc81a505fa7cf03e1658a24ffc8..d0a0956f8a13462ab305e18c437719b0ed612158 100644 (file)
@@ -652,6 +652,7 @@ static int nfs_fs_context_parse_param(struct fs_context *fc,
                ctx->fscache_uniq = NULL;
                break;
        case Opt_fscache:
+               trace_nfs_mount_assign(param->key, param->string);
                ctx->options |= NFS_OPTION_FSCACHE;
                kfree(ctx->fscache_uniq);
                ctx->fscache_uniq = param->string;
This page took 0.070386 seconds and 4 git commands to generate.