ceph_change_snap_realm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 be NULL, 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