The patch titled ext3 filesystem bogus ENOSPC with reservation fix has been removed from the -mm tree. Its filename is ext3-filesystem-bogus-enospc-with-reservation-fix.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: ext3 filesystem bogus ENOSPC with reservation fix From: Mingming Cao <cmm@xxxxxxxxxx> To handle the earlier bogus ENOSPC error caused by filesystem full of block reservation, current code falls back to non block reservation, starts to allocate block(s) from the goal allocation block group as if there is no block reservation. Current code needs to re-load the corresponding block group descriptor for the initial goal block group in this case. The patch fixes this. Signed-off-by: Mingming Cao <cmm@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ext3/balloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN fs/ext3/balloc.c~ext3-filesystem-bogus-enospc-with-reservation-fix fs/ext3/balloc.c --- a/fs/ext3/balloc.c~ext3-filesystem-bogus-enospc-with-reservation-fix +++ a/fs/ext3/balloc.c @@ -1269,12 +1269,12 @@ ext3_fsblk_t ext3_new_blocks(handle_t *h goal = le32_to_cpu(es->s_first_data_block); group_no = (goal - le32_to_cpu(es->s_first_data_block)) / EXT3_BLOCKS_PER_GROUP(sb); + goal_group = group_no; +retry_alloc: gdp = ext3_get_group_desc(sb, group_no, &gdp_bh); if (!gdp) goto io_error; - goal_group = group_no; -retry: free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); /* * if there is not enough free blocks to make a new resevation @@ -1349,7 +1349,7 @@ retry: if (my_rsv) { my_rsv = NULL; group_no = goal_group; - goto retry; + goto retry_alloc; } /* No space left on the device */ *errp = -ENOSPC; _ Patches currently in -mm which might be from cmm@xxxxxxxxxx are ext3-and-jbd-cleanup-remove-whitespace.patch fix-ext3-mounts-at-16t.patch ext3-turn-on-reservation-dump-on-block-allocation-errors.patch ext3-add-more-comments-in-block-allocation-reservation-code.patch more-ext3-16t-overflow-fixes.patch ext3-inode-numbers-are-unsigned-long.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html