NTFS_SYNC_MFT_MIRROR

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ntfs_sync_mft_mirror - synchronize an mft record to the mft mirror  

SYNOPSIS

"SYNOPSIS"

int ntfs_sync_mft_mirror (ntfs_volume * vol, const unsigned long mft_no, MFT_RECORD * m, int sync);  

ARGUMENTS

vol
ntfs volume on which the mft record to synchronize resides
mft_no
mft record number of mft record to synchronize
m
mapped, mst protected (extent) mft record to synchronize
sync
if true, wait for i/o completion
 

DESCRIPTION

Write the mapped, mst protected (extent) mft record m with mft record number mft_no to the mft mirror ($MFTMirr) of the ntfs volume vol.

On success return 0. On error return -errno and set the volume errors flag in the ntfs volume vol.  

NOTE

We always perform synchronous i/o and ignore the sync parameter.  

TODO

If sync is false, want to do truly asynchronous i/o, i.e. just schedule i/o via ->writepage or do it via kntfsd or whatever.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE
TODO

This document was created by man2html, using the manual pages.
Time: 00:02:34 GMT, October 09, 2005