Displaying 13 results from an estimated 13 matches similar to: "[patch] fix ext3 i_blocks accounting"
2001 Oct 12
3
ext3 mounted fs still needs fscking after crash
Hi there,
I'm new to ext3, so I hope you won't find my question to be stupid. I also
hope this isn't the 1,000,000th time someone posts it.
My problem is the following: I converted my ext2 systems to ext3 using
tune2fs -j /dev/sda2 (or 5 for my /home, 2 is my root)
Then I modified fstab and put ext3 for each. After a reboot, the mount
command says they are mounted as ext3.
But when I
2002 Apr 22
1
i_blocks error during fsck
Hi all,
I'm running ext3 with Linux 2.4.19pre5aa2 (and thus ext3 0.9.17)
and e2fsprogs 1.27 on an x86 laptop with an IDE disk (with DMA
enabled). The partition in question was mounted with the
data=journal and nosuid options set. All the partitions are set to
be fscked on bootup every 30 days (although I don't think this
is strictely necessary, better safe than sorry).
ext3 has been
2001 Nov 30
2
Often seeing i_blocks too large after recovery(ies)
I have many systems running current ext3 code. Some of them have
hardware problems that lead to frequent reboots, and the journal
recovery has worked excellently. However, on the periodic forced fsck
on supposedly recovered and clean filesystems, I've many times seen
fsck report that i_blocks is too large in one or more inodes.
I suspect that i_blocks is somehow escaping proper restoration
2007 Sep 19
0
i_blocks and delay allocation
Hello
I found that after defrag a file, the corresponding inode's i_blocks
become incorrect. I hope
following description address the real reason.
i_blocks is decreased in 'btrfs_drop_extents' when something are
drop/truncated and 'run_delalloc_range' calls 'btrfs_drop_extents' at
first place, so 'run_delalloc_range' may decrease the i_blocks.
2003 Feb 04
0
[PATCH] Fix signed use of i_blocks in ext3 truncate
Fix "h_buffer_credits<0" assert failure during truncate.
The bug occurs when the "i_blocks" count in the file's inode overflows
past 2^31. That works fine most of the time, because i_blocks is an
unsigned long, and should go up to 2^32; but there's a place in truncate
where ext3 calculates the size of the next transaction chunk for the
delete, and that mistakenly
2002 Mar 23
1
bad i_blocks count when FS full
I tried it on loop.
1. mount /dev/loop0 /mnt/test -t ext3
2. cp files to 100% full
3. umount /mnt/test
4. fsck.ext3 -f /dev/loop0
Inode xxxxx, i_blocks is xxx, should be yyy. Fix?
2006 May 26
1
[PATCH - 2.6.17-rc5] ext3: Fix missed mutex unlock - unroll
Hi,
I believe the following patch in the GIT - 2.6.17-rc5 is not correct:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=75616cf9854b83eb83a968b1338ae0ee11c9673c
It is the second of the two patches contributed by Leonid Ananiev. This
one incorrectly adds the super block unlocking in the error path, though.
As we can see in the function ext3_group_add() the
2002 Dec 06
2
[patch] fix the ext3 data=journal unmount bug
This patch fixes the data loss which can occur when unmounting a
data=journal ext3 filesystem.
The core problem is that the VFS doesn't tell the filesystem enough
about what is happening. ext3 _needs_ to know the difference between
regular memory-cleansing writeback and sync-for-data-integrity
purposes.
(These two operations are really quite distinct, and the kernel has got
it wrong for
2005 Oct 31
2
What is the history of CONFIG_EXT{2,3}_CHECK?
Can anyone tell me the history of CONFIG_EXT{2,3}_CHECK?
There is code for a "check" option for mount if these options are
enabled, but there's no way to enable them.
TIA
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
2009 May 18
2
[PATCH] ocfs2/trivial: Code cleanup of ocfs2_mount_volume.
No need for nonsense "goto leave" in the end of ocfs2_mount_volume.
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/super.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 79ff8d9..4601a57 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1766,13 +1766,8 @@ static int
2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
Hello.
I found bugs on error handlings in the functions arround the ext3 file
system, which cause inadequate completions of synchronous write I/O operations
when disk I/O failures occur. Both 2.4 and 2.6 have this problem.
I carried out following experiment:
1. Mount a ext3 file system on a SCSI disk with ordered mode.
2. Open a file on the file system with O_SYNC|O_RDWR|O_TRUNC|O_CREAT
2008 Feb 01
2
How to read group descriptor?
Hi All,
I am trying to read group descriptor from disk.
I am able to read the superblock structure successfully.
But I am not getting successful to get the group descriptor. Here is my
code. Please check out what is missing.
#include<linux/ext3_fs.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>
2005 Jan 06
0
[2.6 patch] fs/ext3/: possible cleanups
The patch below contains the following cleanups:
- make some needlessly global code static
- super.c: remove the unused global function ext3_panic
Please comment ib whether this patch is correct or conflicts with
pending changes.
diffstat output:
fs/ext3/balloc.c | 2
fs/ext3/dir.c | 2
fs/ext3/inode.c | 4
fs/ext3/resize.c | 4