<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/fs/ext4/ialloc.c, branch v2.6.19</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/fs/ext4/ialloc.c?h=v2.6.19</id>
<link rel='self' href='https://git.amat.us/linux/atom/fs/ext4/ialloc.c?h=v2.6.19'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-10-11T18:14:18Z</updated>
<entry>
<title>[PATCH] ext4 64 bit divide fix</title>
<updated>2006-10-11T18:14:18Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-10-11T08:21:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f4e5bc244f23ee024a4dfa034b591b219b2bfb8f'/>
<id>urn:sha1:f4e5bc244f23ee024a4dfa034b591b219b2bfb8f</id>
<content type='text'>
With CONFIG_LBD=n, sector_div() expands to a plain old divide.  But ext4 is
_not_ passing in a sector_t as the first argument, so...

fs/built-in.o: In function `ext4_get_group_no_and_offset':
fs/ext4/balloc.c:39: undefined reference to `__umoddi3'
fs/ext4/balloc.c:41: undefined reference to `__udivdi3'
fs/built-in.o: In function `find_group_orlov':
fs/ext4/ialloc.c:278: undefined reference to `__udivdi3'
fs/built-in.o: In function `ext4_fill_super':
fs/ext4/super.c:1488: undefined reference to `__udivdi3'
fs/ext4/super.c:1488: undefined reference to `__umoddi3'
fs/ext4/super.c:1594: undefined reference to `__udivdi3'
fs/ext4/super.c:1601: undefined reference to `__umoddi3'

Fix that up by calling do_div() directly.

Also cast the arg to u64.  do_div() is only defined on u64, and ext4_fsblk_t
is supposed to be opaque.

Note especially the changes to find_group_orlov().  It was attempting to do

	do_div(int, unsigned long long);

which is royally screwed up.  Switched it to plain old divide.

Cc: &lt;linux-ext4@vger.kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ext4: move block number hi bits</title>
<updated>2006-10-11T18:14:18Z</updated>
<author>
<name>Alexandre Ratchov</name>
<email>alexandre.ratchov@bull.net</email>
</author>
<published>2006-10-11T08:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8fadc14323684c547f74cf2f4d13517c6c264731'/>
<id>urn:sha1:8fadc14323684c547f74cf2f4d13517c6c264731</id>
<content type='text'>
move '_hi' bits of block numbers in the larger part of the
block group descriptor structure

Signed-off-by: Alexandre Ratchov &lt;alexandre.ratchov@bull.net&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ext4: 64bit metadata</title>
<updated>2006-10-11T18:14:17Z</updated>
<author>
<name>Laurent Vivier</name>
<email>Laurent.Vivier@bull.net</email>
</author>
<published>2006-10-11T08:21:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bd81d8eec043094d3ff729a8ff6d5b3a06d3c4b1'/>
<id>urn:sha1:bd81d8eec043094d3ff729a8ff6d5b3a06d3c4b1</id>
<content type='text'>
In-kernel super block changes to support &gt;32 bit free blocks numbers.

Signed-off-by: Laurent Vivier &lt;Laurent.Vivier@bull.net&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Alexandre Ratchov &lt;alexandre.ratchov@bull.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ext4: switch fsblk to sector_t</title>
<updated>2006-10-11T18:14:16Z</updated>
<author>
<name>Mingming Cao</name>
<email>cmm@us.ibm.com</email>
</author>
<published>2006-10-11T08:21:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3a5b2ecdd1fa63a8f25bd769223bc1c2564ce45d'/>
<id>urn:sha1:3a5b2ecdd1fa63a8f25bd769223bc1c2564ce45d</id>
<content type='text'>
Redefine ext3 in-kernel filesystem block type (ext3_fsblk_t) from unsigned
long to sector_t, to allow kernel to handle  &gt;32 bit ext3 blocks.

Signed-off-by: Mingming Cao &lt;cmm@us.ibm.com&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ext3: add extent map support</title>
<updated>2006-10-11T18:14:16Z</updated>
<author>
<name>Alex Tomas</name>
<email>alex@clusterfs.com</email>
</author>
<published>2006-10-11T08:21:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a86c61812637c7dd0c57e29880cffd477b62f2e7'/>
<id>urn:sha1:a86c61812637c7dd0c57e29880cffd477b62f2e7</id>
<content type='text'>
On disk extents format:
/*
* this is extent on-disk structure
* it's used at the bottom of the tree
*/
struct ext3_extent {
__le32  ee_block;       /* first logical block extent covers */
__le16  ee_len;         /* number of blocks covered by extent */
__le16  ee_start_hi;    /* high 16 bits of physical block */
__le32  ee_start;       /* low 32 bigs of physical block */
};

Signed-off-by: Alex Tomas &lt;alex@clusterfs.com&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] jbd2: enable building of jbd2 and have ext4 use it rather than jbd</title>
<updated>2006-10-11T18:14:16Z</updated>
<author>
<name>Mingming Cao</name>
<email>cmm@us.ibm.com</email>
</author>
<published>2006-10-11T08:21:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dab291af8d6307a3075c3d67d0cc8f98e646cb94'/>
<id>urn:sha1:dab291af8d6307a3075c3d67d0cc8f98e646cb94</id>
<content type='text'>
Reworked from a patch by Mingming Cao and Randy Dunlap

Signed-off-By: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Mingming Cao &lt;cmm@us.ibm.com&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ext4: rename ext4 symbols to avoid duplication of ext3 symbols</title>
<updated>2006-10-11T18:14:15Z</updated>
<author>
<name>Mingming Cao</name>
<email>cmm@us.ibm.com</email>
</author>
<published>2006-10-11T08:20:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=617ba13b31fbf505cc21799826639ef24ed94af0'/>
<id>urn:sha1:617ba13b31fbf505cc21799826639ef24ed94af0</id>
<content type='text'>
Mingming Cao originally did this work, and Shaggy reproduced it using some
scripts from her.

Signed-off-by: Mingming Cao &lt;cmm@us.ibm.com&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ext4: initial copy of files from ext3</title>
<updated>2006-10-11T18:14:15Z</updated>
<author>
<name>Dave Kleikamp</name>
<email>shaggy@austin.ibm.com</email>
</author>
<published>2006-10-11T08:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ac27a0ec112a089f1a5102bc8dffc79c8c815571'/>
<id>urn:sha1:ac27a0ec112a089f1a5102bc8dffc79c8c815571</id>
<content type='text'>
Start of the ext4 patch series.  See Documentation/filesystems/ext4.txt for
details.

This is a simple copy of the files in fs/ext3 to fs/ext4 and
/usr/incude/linux/ext3* to /usr/include/ex4*

Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
