ceph_change_snap_realm(9)
π ceph_change_snap_realm
okay so this is the ceph_change_snap_realm(9) manual page from the Kernel API Manual, and it's literally about changing the snap_realm for an inode. bestie, we're moving inodes between snap realms and it's giving kernel-internals main character energy β¨
π NAME
ceph_change_snap_realm β change the snap_realm for an inode π¦
πΈ SYNOPSIS
void ceph_change_snap_realm (struct inode *inode , struct ceph_snap_realm *realm );
β¨ ARGUMENTS
inodeβ the inode you're moving to a new snap realm, periodt πrealmβ the new realm to move the inode into; it may beNULL, no cap π
π DESCRIPTION
Detach an inode from its old snaprealm (if any) and attach it to the new snaprealm (if any). the old snap realm reference held by the inode gets put β that's the whole move π₯
If realm is non-NULL, then the caller's reference to it is taken over by the inode. yep, the inode takes over that reference, so keep that in mind π
π«Ά SEE ALSO
Kernel file ./fs/ceph/snap.c β go read it, iykyk ππΈ
made with π from ./fs/ceph β October 2026 β ceph_change_snap_realm(9) β
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms