in memory and on disk inodes

Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

in memory and on disk inodes

Postby fluca1978 » 17 Aug 2011, 11:05

Hi all,
as far as I understand an inode has an in-memory representation (for instance sys/ufs/ufs/inode.h) that contains a pointer to an on-disk representation. The two are different because on disk things must be really right aligned, right?
With regard to UFS, the DIP_SET macro sets flags on the on-disk copy of the in-memory inode pointer. I'm curious to understand when and how changes are effectively written back to disk and thru which flow. I mean, the dinode_u field of the inode struct where is flushed?
fluca1978
Member
 
Posts: 726
Joined: 20 May 2010, 08:53

Postby fluca1978 » 05 Sep 2011, 06:25

Should I assume that the syncer daemon is responsible for syncing i-nodes too?
fluca1978
Member
 
Posts: 726
Joined: 20 May 2010, 08:53


Return to FreeBSD Development

Who is online

Users browsing this forum: No registered users and 0 guests