Query: sb_start_pagefault
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SB_START_PAGEFAULT(9) The Linux VFS SB_START_PAGEFAULT(9)NAMEsb_start_pagefault - get write access to a superblock from a page faultSYNOPSISvoid sb_start_pagefault(struct super_block * sb);ARGUMENTSsb the super we write toDESCRIPTIONWhen a process starts handling write page fault, it should embed the operation into sb_start_pagefault - sb_end_pagefault pair to get exclusion against file system freezing. This is needed since the page fault is going to dirty a page. This function increments number of running page faults preventing freezing. If the file system is already frozen, the function waits until the file system is thawed. Since page fault freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. It is advised to put sb_start_pagefault close to mmap_sem in lock ordering. Page faultHANDLING CODE IMPLIES LOCK DEPENDENCYmmap_sem -> sb_start_pagefaultCOPYRIGHTKernel Hackers Manual 3.10 June 2014 SB_START_PAGEFAULT(9)
Related Man Pages |
---|
xfs_freeze(8) - sunos |
xfs_freeze(8) - minix |
xfs_freeze(8) - posix |
xfs_freeze(8) - opensolaris |
xfs_freeze(8) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Set hard block limit for user using quota |
Tar Command |
Unsure why access time on a directory change isn't changing |
Controlling user input |
Please Welcome Dave Munro to the Moderator Team! |