Linux Kernel
3.7.1
|
#include <linux/buffer_head.h>
#include <linux/gfp.h>
#include <linux/mpage.h>
#include <linux/writeback.h>
#include <linux/uio.h>
#include "nilfs.h"
#include "btnode.h"
#include "segment.h"
#include "page.h"
#include "mdt.h"
#include "cpfile.h"
#include "ifile.h"
Go to the source code of this file.
Data Structures | |
struct | nilfs_iget_args |
Macros | |
#define | NILFS_MAX_TRUNCATE_BLOCKS 16384 /* 64MB for 4KB block */ |
Variables | |
struct address_space_operations | nilfs_aops |
#define NILFS_MAX_TRUNCATE_BLOCKS 16384 /* 64MB for 4KB block */ |
nilfs_dirty_inode - reflect changes on given inode to an inode block. : inode of the file to be registered.
nilfs_dirty_inode() loads a inode block containing the specified and copies data from a nilfs_inode to a corresponding inode entry in the inode block. This operation is excluded from the segment construction. This function can be called both as a single operation and as a part of indivisible file operations.
int nilfs_get_block | ( | struct inode * | inode, |
sector_t | blkoff, | ||
struct buffer_head * | bh_result, | ||
int | create | ||
) |
nilfs_get_block() - get a file block on the filesystem (callback function) - inode struct of the target file - file block number - buffer head to be mapped on - indicate whether allocating the block or not when it has not been allocated yet.
This function does not issue actual read request of the specified data block. It is done by VFS.
|
read |
|
read |
|
read |
int nilfs_read_inode_common | ( | struct inode * | inode, |
struct nilfs_inode * | raw_inode | ||
) |
struct address_space_operations nilfs_aops |