aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/inode.c6
-rw-r--r--fs/ext4/mballoc.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 618ca95cbb59..0282ec78cf8f 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -2932,7 +2932,7 @@ retry:
2932 ret = write_cache_pages(mapping, wbc, __mpage_da_writepage, 2932 ret = write_cache_pages(mapping, wbc, __mpage_da_writepage,
2933 &mpd); 2933 &mpd);
2934 /* 2934 /*
2935 * If we have a contigous extent of pages and we 2935 * If we have a contiguous extent of pages and we
2936 * haven't done the I/O yet, map the blocks and submit 2936 * haven't done the I/O yet, map the blocks and submit
2937 * them for I/O. 2937 * them for I/O.
2938 */ 2938 */
@@ -5370,7 +5370,7 @@ static int ext4_index_trans_blocks(struct inode *inode, int nrblocks, int chunk)
5370 * worse case, the indexs blocks spread over different block groups 5370 * worse case, the indexs blocks spread over different block groups
5371 * 5371 *
5372 * If datablocks are discontiguous, they are possible to spread over 5372 * If datablocks are discontiguous, they are possible to spread over
5373 * different block groups too. If they are contiugous, with flexbg, 5373 * different block groups too. If they are contiuguous, with flexbg,
5374 * they could still across block group boundary. 5374 * they could still across block group boundary.
5375 * 5375 *
5376 * Also account for superblock, inode, quota and xattr blocks 5376 * Also account for superblock, inode, quota and xattr blocks
@@ -5446,7 +5446,7 @@ int ext4_writepage_trans_blocks(struct inode *inode)
5446 * Calculate the journal credits for a chunk of data modification. 5446 * Calculate the journal credits for a chunk of data modification.
5447 * 5447 *
5448 * This is called from DIO, fallocate or whoever calling 5448 * This is called from DIO, fallocate or whoever calling
5449 * ext4_get_blocks() to map/allocate a chunk of contigous disk blocks. 5449 * ext4_get_blocks() to map/allocate a chunk of contiguous disk blocks.
5450 * 5450 *
5451 * journal buffers for data blocks are not included here, as DIO 5451 * journal buffers for data blocks are not included here, as DIO
5452 * and fallocate do no need to journal data buffers. 5452 * and fallocate do no need to journal data buffers.
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index bba12824defa..74e495dabe09 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -142,7 +142,7 @@
142 * 2 blocks and the order of allocation is >= sbi->s_mb_order2_reqs. The 142 * 2 blocks and the order of allocation is >= sbi->s_mb_order2_reqs. The
143 * value of s_mb_order2_reqs can be tuned via 143 * value of s_mb_order2_reqs can be tuned via
144 * /sys/fs/ext4/<partition>/mb_order2_req. If the request len is equal to 144 * /sys/fs/ext4/<partition>/mb_order2_req. If the request len is equal to
145 * stripe size (sbi->s_stripe), we try to search for contigous block in 145 * stripe size (sbi->s_stripe), we try to search for contiguous block in
146 * stripe size. This should result in better allocation on RAID setups. If 146 * stripe size. This should result in better allocation on RAID setups. If
147 * not, we search in the specific group using bitmap for best extents. The 147 * not, we search in the specific group using bitmap for best extents. The
148 * tunable min_to_scan and max_to_scan control the behaviour here. 148 * tunable min_to_scan and max_to_scan control the behaviour here.