From 07a3e47f1d39b6206c7b37feda67eb3d4b44f916 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 20 Aug 2008 00:32:53 -0400 Subject: [PATCH] More commit description fixups --- Fix-EXT_MAX_BLOCK.patch | 2 +- JC1-journal_credit_fix_for_nonextent.patch | 2 +- JC2-journal_credit_for_extents_fix.patch | 2 +- JC3-journal_credit_fix_for_dio_fallocate.patch | 2 +- JC5-da_writepages_credit_fix.patch | 2 +- ext4_unwritten_extent_delalloc_fix.patch | 10 +++++----- fix-delalloc-release-block-reservation-for-truncate | 4 ++-- fix-flex_bg-ialloc | 4 +++- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Fix-EXT_MAX_BLOCK.patch b/Fix-EXT_MAX_BLOCK.patch index 257a90dd..c0a31979 100644 --- a/Fix-EXT_MAX_BLOCK.patch +++ b/Fix-EXT_MAX_BLOCK.patch @@ -1,4 +1,4 @@ -Ext4: fix invalid block number magic for >16 TB fs +ext4: fix invalid block number magic for >16 TB fs From: Girish Shilamkar diff --git a/JC1-journal_credit_fix_for_nonextent.patch b/JC1-journal_credit_fix_for_nonextent.patch index 816da72a..0a943994 100644 --- a/JC1-journal_credit_fix_for_nonextent.patch +++ b/JC1-journal_credit_fix_for_nonextent.patch @@ -1,4 +1,4 @@ -Ext4: journal credits calulation cleanup and fix for non-extent writepage +ext4: journal credits calulation cleanup and fix for non-extent writepage From: Mingming Cao diff --git a/JC2-journal_credit_for_extents_fix.patch b/JC2-journal_credit_for_extents_fix.patch index 2cd6916b..8ae6cb5c 100644 --- a/JC2-journal_credit_for_extents_fix.patch +++ b/JC2-journal_credit_for_extents_fix.patch @@ -1,4 +1,4 @@ -Ext4: journal credits reservation fixes for extent file writepage +ext4: journal credits reservation fixes for extent file writepage From: Mingming Cao diff --git a/JC3-journal_credit_fix_for_dio_fallocate.patch b/JC3-journal_credit_fix_for_dio_fallocate.patch index eaec5098..c5fd5638 100644 --- a/JC3-journal_credit_fix_for_dio_fallocate.patch +++ b/JC3-journal_credit_fix_for_dio_fallocate.patch @@ -1,4 +1,4 @@ -Ext4: journal credits reservation fixes for DIO, fallocate +ext4: journal credits reservation fixes for DIO, fallocate From: Mingming Cao diff --git a/JC5-da_writepages_credit_fix.patch b/JC5-da_writepages_credit_fix.patch index ce457643..9682350e 100644 --- a/JC5-da_writepages_credit_fix.patch +++ b/JC5-da_writepages_credit_fix.patch @@ -1,4 +1,4 @@ -Ext4: journal credit fix for the delayed allocation's writepages() function +ext4: journal credit fix for the delayed allocation's writepages() function From: Mingming Cao diff --git a/ext4_unwritten_extent_delalloc_fix.patch b/ext4_unwritten_extent_delalloc_fix.patch index f3709450..6d631d70 100644 --- a/ext4_unwritten_extent_delalloc_fix.patch +++ b/ext4_unwritten_extent_delalloc_fix.patch @@ -1,14 +1,14 @@ -Ext4: Handle unwritten extent properly with delayed allocation +ext4: Handle unwritten extent properly with delayed allocation From: Aneesh Kumar K.V -When using fallocate the buffer_heads are marked unwritten -and unmapped. We need to map them in the writepages after -a get_block. Otherwise we split the uninit extents, -but never write the content to disk. +When using fallocate the buffer_heads are marked unwritten and unmapped. +We need to map them in the writepages after a get_block. Otherwise we +split the uninit extents, but never write the content to disk. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Mingming Cao +Signed-off-by: "Theodore Ts'o" --- fs/ext4/inode.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/fix-delalloc-release-block-reservation-for-truncate b/fix-delalloc-release-block-reservation-for-truncate index bfc12028..9755a1fb 100644 --- a/fix-delalloc-release-block-reservation-for-truncate +++ b/fix-delalloc-release-block-reservation-for-truncate @@ -1,4 +1,4 @@ -Ext4: Fix delalloc release block reservation for truncate +ext4: Fix delalloc release block reservation for truncate From: Mingming Cao @@ -12,7 +12,7 @@ files, as the calculation for 0 reserved blocks was right for extent based file. This patch fixed the kernel BUG() due to above reason. It adds checks -for 0 to avoid unnecessary release and fix calculation for non extent +for 0 to avoid unnecessary release and fix calculation for non-extent files. Signed-off-by: Mingming Cao diff --git a/fix-flex_bg-ialloc b/fix-flex_bg-ialloc index d6232b77..cc95c550 100644 --- a/fix-flex_bg-ialloc +++ b/fix-flex_bg-ialloc @@ -1,4 +1,6 @@ -ext4: flex_bg ialloc, don't pick "best_flex" with 0 inodes +ext4: Fix bug where we return ENOSPC even though we have plenty of inodes + +From: Eric Sandeen The find_group_flex() function starts with best_flex as the parent_fbg_group, which happens to have 0 inodes free. Some of the -- 2.11.4.GIT