Searched hist:"3259 f8be" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | writeback.h | 3259f8be Fri Oct 29 10:16:17 CDT 2010 Chris Mason <chris.mason@oracle.com> Add new functions for triggering inode writeback
When btrfs is running low on metadata space, it needs to force delayed allocation pages to disk. It currently does this with a suboptimal walk of a private list of inodes with delayed allocation, and it would be much better if we used the generic flusher threads.
writeback_inodes_sb_if_idle would be ideal, but it waits for the flusher thread to start IO on all the dirty pages in the FS before it returns. This adds variants of writeback_inodes_sb* that allow the caller to control how many pages get sent down.
Signed-off-by: Chris Mason <chris.mason@oracle.com> 3259f8be Fri Oct 29 10:16:17 CDT 2010 Chris Mason <chris.mason@oracle.com> Add new functions for triggering inode writeback When btrfs is running low on metadata space, it needs to force delayed allocation pages to disk. It currently does this with a suboptimal walk of a private list of inodes with delayed allocation, and it would be much better if we used the generic flusher threads. writeback_inodes_sb_if_idle would be ideal, but it waits for the flusher thread to start IO on all the dirty pages in the FS before it returns. This adds variants of writeback_inodes_sb* that allow the caller to control how many pages get sent down. Signed-off-by: Chris Mason <chris.mason@oracle.com>
|
/openbmc/linux/fs/ |
H A D | fs-writeback.c | 3259f8be Fri Oct 29 10:16:17 CDT 2010 Chris Mason <chris.mason@oracle.com> Add new functions for triggering inode writeback
When btrfs is running low on metadata space, it needs to force delayed allocation pages to disk. It currently does this with a suboptimal walk of a private list of inodes with delayed allocation, and it would be much better if we used the generic flusher threads.
writeback_inodes_sb_if_idle would be ideal, but it waits for the flusher thread to start IO on all the dirty pages in the FS before it returns. This adds variants of writeback_inodes_sb* that allow the caller to control how many pages get sent down.
Signed-off-by: Chris Mason <chris.mason@oracle.com> 3259f8be Fri Oct 29 10:16:17 CDT 2010 Chris Mason <chris.mason@oracle.com> Add new functions for triggering inode writeback When btrfs is running low on metadata space, it needs to force delayed allocation pages to disk. It currently does this with a suboptimal walk of a private list of inodes with delayed allocation, and it would be much better if we used the generic flusher threads. writeback_inodes_sb_if_idle would be ideal, but it waits for the flusher thread to start IO on all the dirty pages in the FS before it returns. This adds variants of writeback_inodes_sb* that allow the caller to control how many pages get sent down. Signed-off-by: Chris Mason <chris.mason@oracle.com>
|