search for: balloc

Displaying 15 results from an estimated 15 matches for "balloc".

Did you mean: alloc
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
2005 Nov 18
0
[2.6 patch] fs/ext3/: small cleanups
This patch contains the following cleanups: - there's no need for ext3_count_free() #ifndef EXT3FS_DEBUG - having prototypes for ext3_count_free() in two different headers is nonsense Signed-off-by: Adrian Bunk <bunk at stusta.de> --- fs/ext3/balloc.c | 2 -- fs/ext3/bitmap.c | 8 +++++++- fs/ext3/bitmap.h | 8 -------- fs/ext3/ialloc.c | 1 - 4 files changed, 7 insertions(+), 12 deletions(-) --- linux-2.6.15-rc1-mm1-full/fs/ext3/bitmap.c.old 2005-11-18 02:52:02.000000000 +0100 +++ linux-2.6.15-rc1-mm1-full/fs/ext3/bitmap.c 2005-1...
2001 Feb 01
1
one question
Hi Stephen, I'm one of developers of SnapFS, which based on Ext3. I got Assertion failure from SnapFS, at ext3_new_block() in fs/ext3/balloc.c: J_ASSERT (!test_and_set_bit(BH_Alloced, &bh->b_state)) If J_ASSERT is only use as debug, why it will modify data? I found the 'BH_Alloced' flag only occures at two place: one is balloc.c as above, the other is at journal_forget() in fs/jfs/transaction.c: J_ASSERT (!test_and_se...
2001 Dec 06
1
2.2.19: Assertion failure in ext3_new_block() at balloc.c line 709
Red Hat 2.2.19-6.2.12 + 0.0.7a + https://listman.redhat.com/pipermail/ext3-users/2001-November/002258.html (not tuned in /proc yet) + journal 4MB on each fs + 6 ext3 fs on raid1 (hda+hdc) + 1 ext3 fs on another disk not on raid1 (hdd) While untarring (tar zxf) a file that was on a ext3/raid1 onto hdd I got: ksymoops 2.3.4 on i686 2.2.19-6.2.12.g1. Options used -V (default) -k
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.
2002 Apr 02
0
[patch] fix ext3 i_blocks accounting
..., and probably does not warrant an upgrade for production machines. Its effects are: 1) errors are generated from e2fsck and 2) users could appear to be over quota when they really aren't. The patch undoes the accounting operation if the allocation ends up failing. --- 2.4.19-pre5/fs/ext3/balloc.c~ext3-i_blocks Tue Apr 2 13:12:34 2002 +++ 2.4.19-pre5-akpm/fs/ext3/balloc.c Tue Apr 2 13:15:03 2002 @@ -542,6 +542,7 @@ int ext3_new_block (handle_t *handle, st int i, j, k, tmp, alloctmp; int bitmap_nr; int fatal = 0, err; + int performed_allocation = 0; struct super_block * sb; stru...
2005 Dec 01
0
Errors reported by Coverity in ext3.
...return value should be checked (checked 32 out of 39 times) Event unchecked_value: Return value of "__ext3_journal_get_write_access" is not checked Also see events: 61 ext3_journal_get_write_access(handle,bh); 62 } 63 return bh; --- 5. Error reported in ext3/balloc.c --- CID: 3545 Checker: CHECKED_RETURN File: fs/ext3/balloc.c Function: ext3_free_blocks_sb Description: Return value of "test_and_set_bit" is not checked 439 BUFFER_TRACE(bitmap_bh, "set in b_committed_data"); 440 J_ASSERT_BH(bitmap_bh, 441...
2006 Apr 02
1
Zeroing freed blocks
...09:21:52.000000000 +0100 @@ -58,6 +58,8 @@ nobh Do not attach buffer_heads to fi xip Use execute in place (no caching) if possible +zerofree Zero data blocks when they are freed. + grpquota,noquota,quota,usrquota Quota options are silently ignored by ext2. --- linux-2.6.16/fs/ext2/balloc.c.zerofree 2006-03-20 05:53:29.000000000 +0000 +++ linux-2.6.16/fs/ext2/balloc.c 2006-04-02 09:21:52.000000000 +0100 @@ -174,6 +174,16 @@ static void group_release_blocks(struct } } +static inline void zero_block(struct super_block *sb, unsigned long block) +{ + struct buffer_head * bh; + + b...
2001 Oct 14
2
Probelms with patching EXT-3
...ch=k6 -c -o super.o super.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -c -o symlink.o symlink.c rm -f ext3.o ld -m elf_i386 -r -o ext3.o acl.o balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o ioctl.o namei.o super.o symlink.o ld: cannot open ialloc.o: No such file or directory make[3]: *** [ext3.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.9/fs/ext3' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/l...
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 fs/ext3/super.c | 45 ++----- fs/ext3/xattr.c | 242 +++++++++++++++++++-------------------- fs/ext3/xattr.h | 8 - include/linux/ext3_fs.h |...
2002 Mar 19
0
Assertion failure in 2.2.19
Hi, I found the following in the logs of a server that crashed: Mar 19 14:09:28 sc4 kernel: Assertion failure in ext3_free_blocks() at balloc.c line 358: "bh->b_committed_data != NULL" Mar 19 14:09:28 sc4 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 Mar 19 14:09:28 sc4 kernel: current->tss.cr3 = 39b8b000, %%cr3 = 39b8b000 Mar 19 14:09:28 sc4 kernel: *pde = 00000000 Mar 19 14:09:28 s...
2002 Jan 19
0
Assertion failure in 2.2.20
My system had the following error sent to syslog: kernel: Assertion failure in ext3_free_blocks() at balloc.c line 358: "bh->b_committed_data != NULL" Immediately before that with the same timestamp was a sendmail entry. The system locked up shortly after that. I never saw an oops. I was tailing /var/log/messages in a terminal. That syslog entry was not saved to disk. I have not been a...
2008 Sep 16
2
When is a block free?
Where in the ext2/3 code does it know that a block on the disk is now free to reuse? Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ext3-users/attachments/20080916/7b737a93/attachment.htm>
2001 Nov 03
1
Patch for kernel 2.4.14pre7
...lines). Hunk #4 succeeded at 429 (offset -3 lines). Hunk #5 succeeded at 450 (offset -3 lines). 1 out of 5 hunks FAILED -- saving rejects to file mm/vmscan.c.rej patching file drivers/block/loop.c patching file fs/Makefile patching file fs/Config.in patching file fs/ext3/acl.c patching file fs/ext3/balloc.c patching file fs/ext3/bitmap.c patching file fs/ext3/dir.c patching file fs/ext3/file.c patching file fs/ext3/fsync.c patching file fs/ext3/ialloc.c patching file fs/ext3/inode.c patching file fs/ext3/ioctl.c patching file fs/ext3/Makefile patching file fs/ext3/namei.c patching file fs/ext3/super...
2001 Jul 18
2
Patch for latest ac release?
Lo, Is there already a patch out for latest 2.4.6-ac release? I'm pretty sure that the ext3 patch -ac2 can not be applied on this release. Bye. -- the trees the birds the air the grass the water the flies the trees