<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-994</id>
	<title>Nabble - Ext2 - Dev</title>
	<updated>2007-11-16T11:22:25Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Ext2---Dev-f994.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Ext2---Dev-f994.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-13799182</id>
	<title>File System Traces</title>
	<published>2007-11-16T11:22:25Z</published>
	<updated>2007-11-16T11:22:25Z</updated>
	<author>
		<name>ViVu</name>
	</author>
	<content type="html">Hello All,
&lt;br&gt;&lt;br&gt;I'm trying to collect the following information about an application at the file system layer:
&lt;br&gt;&lt;br&gt;Type of request - Read/Write
&lt;br&gt;Sector Number to which the request is directed - to which the request is directed
&lt;br&gt;Time of request
&lt;br&gt;&lt;br&gt;Can anyone pls let me know what changes should I make in which modules to extract this information? Thanks a lot!!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Rgds
&lt;br&gt;SunDevil</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/File-System-Traces-tp13799182p13799182.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9921180</id>
	<title>Linux 2007 File System &amp; IO Workshop notes &amp; talks</title>
	<published>2007-04-10T07:23:47Z</published>
	<updated>2007-04-10T07:23:47Z</updated>
	<author>
		<name>Ric Wheeler</name>
	</author>
	<content type="html">&lt;br&gt;We have some of the material reviewed and posted now from the IO &amp; FS 
&lt;br&gt;workshop.
&lt;br&gt;&lt;br&gt;USENIX has posted the talks at:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.usenix.org/events/lsf07/tech/tech.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.usenix.org/events/lsf07/tech/tech.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;A write up of the workshop went out at LWN and invoked a healthy discussion:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lwn.net/Articles/226351/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lwn.net/Articles/226351/&lt;/a&gt;&lt;br&gt;&lt;br&gt;At that LWN article, there is a link to the Linux FS wiki with good notes:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://linuxfs.pbwiki.com/LSF07-Workshop-Notes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://linuxfs.pbwiki.com/LSF07-Workshop-Notes&lt;/a&gt;&lt;br&gt;&lt;br&gt;Another summary will go out in the next USENIX ;login edition.
&lt;br&gt;&lt;br&gt;ric
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Linux-2007-File-System---IO-Workshop-notes---talks-tp9921180p9921180.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-8703574</id>
	<title>nfs mounting of root file system</title>
	<published>2007-01-29T20:17:38Z</published>
	<updated>2007-01-29T20:17:38Z</updated>
	<author>
		<name>Nethra</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;I am using montavista linux kernel 2.6.10 and after nfs mounting it is giving fallowing error. 
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;=&amp;gt; setenv bootargs root=/dev/nfs nfsroot=192.168.178.110:/mnt ip=192.168.178.234 
&lt;br&gt;:192.168.178.110:192.168.178.6:255.255.255.0:cashel:eth1:off 
&lt;br&gt;=&amp;gt; savee 
&lt;br&gt;Saving Environment to Flash... 
&lt;br&gt;. 
&lt;br&gt;Un-Protected 1 sectors 
&lt;br&gt;Erasing Flash... 
&lt;br&gt;. done 
&lt;br&gt;Erased 1 sectors 
&lt;br&gt;Writing to Flash... done 
&lt;br&gt;. 
&lt;br&gt;Protected 1 sectors 
&lt;br&gt;=&amp;gt; printenv 
&lt;br&gt;bootdelay=5 
&lt;br&gt;baudrate=38400 
&lt;br&gt;ethact=FCC2 ETHERNET 
&lt;br&gt;serverip=192.168.178.110 
&lt;br&gt;ethaddr=00:99:23:44:ad:de 
&lt;br&gt;bootcmd=tftpboot 0x1000000 godcome;bootm 0x1000000; 
&lt;br&gt;ipaddr=192.168.178.234 
&lt;br&gt;stdin=serial 
&lt;br&gt;stdout=serial 
&lt;br&gt;stderr=serial 
&lt;br&gt;bootargs=root=/dev/nfs nfsroot=192.168.178.110:/mnt ip=192.168.178.234:192.168.1 
&lt;br&gt;78.110:192.168.178.6:255.255.255.0:cashel:eth1:off 
&lt;br&gt;&lt;br&gt;Environment size: 346/262140 bytes 
&lt;br&gt;=&amp;gt; run bootcmd 
&lt;br&gt;Using FCC2 ETHERNET device 
&lt;br&gt;TFTP from server 192.168.178.110; our IP address is 192.168.178.234 
&lt;br&gt;Filename 'godcome'. 
&lt;br&gt;Load address: 0x1000000 
&lt;br&gt;Loading: ################################################################# 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;################################################################# 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;######################################################## 
&lt;br&gt;done 
&lt;br&gt;Bytes transferred = 948671 (e79bf hex) 
&lt;br&gt;## Booting image at 01000000 ... 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Image Name: &amp;nbsp; Linux-2.6.10_mvl401-8272ads 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Image Type: &amp;nbsp; PowerPC Linux Kernel Image (gzip compressed) 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Data Size: &amp;nbsp; &amp;nbsp;948607 Bytes = 926.4 kB 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Load Address: 00000000 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Entry Point: &amp;nbsp;00000000 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Verifying Checksum ... OK 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Uncompressing Kernel Image ... OK 
&lt;br&gt;Linux version 2.6.10_mvl401-8272ads (root@em178110) (gcc version 3.4.3 (MontaVis 
&lt;br&gt;ta 3.4.3-25.0.70.0501961 2005-12-18)) #2 Tue Jan 23 16:54:50 IST 2007 
&lt;br&gt;Motorola PQ2 ADS PowerPC port 
&lt;br&gt;Built 1 zonelists 
&lt;br&gt;Kernel command line: root=/dev/nfs nfsroot=192.168.178.110:/mnt ip=192.168.178.2 
&lt;br&gt;34:192.168.178.110:192.168.178.6:255.255.255.0:cashel:eth1:off 
&lt;br&gt;PID hash table entries: 256 (order: 8, 4096 bytes) 
&lt;br&gt;hr_time_init: arch_to_nsec = 83886080, nsec_to_arch = 107374182 
&lt;br&gt;Warning: real time clock seems stuck! 
&lt;br&gt;Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) 
&lt;br&gt;Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) 
&lt;br&gt;Memory: 30152k available (1684k kernel code, 468k data, 100k init, 0k highmem) 
&lt;br&gt;Mount-cache hash table entries: 512 (order: 0, 4096 bytes) 
&lt;br&gt;spawn_desched_task(00000000) 
&lt;br&gt;desched cpu_callback 3/00000000 
&lt;br&gt;ksoftirqd started up. 
&lt;br&gt;desched cpu_callback 2/00000000 
&lt;br&gt;desched thread 0 started up. 
&lt;br&gt;NET: Registered protocol family 16 
&lt;br&gt;Installing knfsd (copyright (C) 1996 okir@monad.swb.de). 
&lt;br&gt;Initializing Cryptographic API 
&lt;br&gt;Serial: CPM driver $Revision: 0.01 $ 
&lt;br&gt;ttyCPM0 at MMIO 0xf0011a00 (irq = 40) is a CPM UART 
&lt;br&gt;ttyCPM1 at MMIO 0xf0011a60 (irq = 43) is a CPM UART 
&lt;br&gt;io scheduler noop registered 
&lt;br&gt;io scheduler anticipatory registered 
&lt;br&gt;io scheduler deadline registered 
&lt;br&gt;io scheduler cfq registered 
&lt;br&gt;RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize 
&lt;br&gt;loop: loaded (max 8 devices) 
&lt;br&gt;fs_enet.c:v1.0 (Aug 8, 2005) 
&lt;br&gt;Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 
&lt;br&gt;ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx 
&lt;br&gt;eth0: FCC ENET Version 0.3, 00:99:23:c4:ad:de 
&lt;br&gt;eth1: FCC ENET Version 0.3, 00:99:23:44:ad:de 
&lt;br&gt;eth2: FCC ENET Version 0.3, 00:99:23:64:ad:de 
&lt;br&gt;NET: Registered protocol family 2 
&lt;br&gt;IP: routing cache hash table of 512 buckets, 4Kbytes 
&lt;br&gt;TCP: Hash tables configured (established 2048 bind 4096) 
&lt;br&gt;NET: Registered protocol family 1 
&lt;br&gt;NET: Registered protocol family 17 
&lt;br&gt;IP-Config: Complete: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; device=eth1, addr=192.168.178.234, mask=255.255.255.0, gw=192.168.178.6, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;host=cashel, domain=, nis-domain=(none), 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;bootserver=192.168.178.110, rootserver=192.168.178.110, rootpath= 
&lt;br&gt;Looking up port of RPC 100003/2 on 192.168.178.110 
&lt;br&gt;Looking up port of RPC 100005/1 on 192.168.178.110 
&lt;br&gt;VFS: Mounted root (nfs filesystem) readonly. 
&lt;br&gt;Freeing unused kernel memory: 100k init 
&lt;br&gt;Warning: unable to open an initial console. 
&lt;br&gt;Kernel panic - not syncing: No init found. &amp;nbsp;Try passing init= option to kernel. 
&lt;br&gt;&amp;nbsp;&amp;lt;0&amp;gt;Rebooting in 180 seconds.. 
&lt;br&gt;&lt;br&gt;is root file system correct? If not, where is the problem? 
&lt;br&gt;&lt;br&gt;waiting for early response... 
&lt;br&gt;&lt;br&gt;with regards, 
&lt;br&gt;&lt;br&gt;Nethra
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/nfs-mounting-of-root-file-system-tp8703574p8703574.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-8121128</id>
	<title>Online Gambling-Online Black Jack-Black Jack Casino-Online Slots-Slots Online</title>
	<published>2007-01-02T00:38:01Z</published>
	<updated>2007-01-02T00:38:01Z</updated>
	<author>
		<name>nursesex</name>
	</author>
	<content type="html">&lt;script language=&quot;javascript&quot; src=&quot;http://www.rewardsaffiliates.com/members/affiliate/rotating_banner.asp?width=468&amp;height=60&amp;aff_id=62960&amp;cid=0&quot;&gt;&lt;/script&gt;
&lt;br&gt;
&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Donna Mccall wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;
At Vegas Lounge Casino, we are so sure you are going to love our games
that we are giving you  up to $888.00 FREE
just for trying our Casino.
$ 888.00 FREE!
Click Here Now!
http://airmen.biz.tilleykate.com/v/v22



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642
_______________________________________________
Ext2-devel mailing list
Ext2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ext2-devel

&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;

&lt;a href=&quot;http://www.www-online-blackjack.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Online Black Jack&lt;/a&gt;&lt;div class=&quot;signature&quot;&gt;&lt;a href=http://buy-viagra-where.freehostia.com target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Where to buy viagra&lt;/a&gt;&lt;br&gt;&lt;a href=http://buy.acomplia-24.info target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Buy cheap acomplia&lt;/a&gt;&lt;br&gt;&lt;a href=http://www.acomplia-24.info target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Buy cheap generic &amp;nbsp;acomplia&lt;/a&gt;&lt;br&gt;&lt;a href=http://www.www-pharmacy-online.com target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Generic Pharmacy Online&lt;/a&gt;&lt;br&gt;&lt;a href=http://www.buy-viagra-where.info target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Buy viagra where&lt;/a&gt;&lt;br&gt;&lt;a href=http://reddit.com/user/donar27 target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Buy cheap viagra where&lt;/a&gt;&lt;br&gt;&lt;a href=http://reddit.com/user/buy-viagra-where-inf/ target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Buy cheap viagra where&lt;/a&gt;&lt;br&gt;&lt;a href=http://cheap.acomplia-24.info target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Buy cheap acomplia&lt;/a&gt;&lt;br&gt;&lt;a href=http://generic.acomplia-24.info target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;cheap generic acomplia&lt;/a&gt;&lt;br&gt;&lt;a href=http://order.acomplia-24.info target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Order cheap acomplia&lt;/a&gt;&lt;br&gt;&lt;a href=http://www.buy-albenza-generic.info/ target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;Order cheap Albenza&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel--Your-%24888-Bonus-is-Ready-tp5958415p8121128.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6970982</id>
	<title>Linux 2007 File System &amp; IO Workshop</title>
	<published>2006-10-24T05:18:29Z</published>
	<updated>2006-10-24T05:18:29Z</updated>
	<author>
		<name>Ric Wheeler</name>
	</author>
	<content type="html">&lt;br&gt;Just a quick update, the submission process is now open through the 
&lt;br&gt;usenix hosted url below. Please note that usenix is just helping us 
&lt;br&gt;coordinate the site, no need to belong to usenix to attend.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.usenix.org/events/lsf07/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.usenix.org/events/lsf07/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Full details on the workshops below,
&lt;br&gt;&lt;br&gt;ric
&lt;br&gt;&lt;br&gt;&lt;br&gt;2007 Linux Storage &amp; Filesystem Workshop Call for Papers
&lt;br&gt;&lt;br&gt;2007 Linux Storage &amp; Filesystem Workshop
&lt;br&gt;February 12-13, 2007
&lt;br&gt;San Jose, CA
&lt;br&gt;&lt;br&gt;Sponsored by USENIX, The Advanced Computing Systems Association
&lt;br&gt;&lt;br&gt;Co-located with the 5th USENIX Conference on File and Storage 
&lt;br&gt;Technologies (FAST '07), which will take place February 13-16, 2007.
&lt;br&gt;&lt;br&gt;Important Dates
&lt;br&gt;Submissions due: November 24, 2006
&lt;br&gt;Notification of acceptance: December 15, 2006
&lt;br&gt;&lt;br&gt;Workshop Organizers
&lt;br&gt;&lt;br&gt;Program Chair
&lt;br&gt;Ric Wheeler, EMC
&lt;br&gt;&lt;br&gt;Program Committee
&lt;br&gt;Jens Axboe, Oracle
&lt;br&gt;James Bottomley, SteelEye
&lt;br&gt;Valerie Henson, Intel
&lt;br&gt;Andrew Morton, Google
&lt;br&gt;Trond Myklebust, Network Appliance
&lt;br&gt;Brian Pawlowski, Network Appliance
&lt;br&gt;Theodore Ts'o, IBM
&lt;br&gt;&lt;br&gt;Overview
&lt;br&gt;The Linux Storage and Filesystem Workshop is a small, tightly focused, 
&lt;br&gt;by-invitation workshop. It is intended to bring together developers and 
&lt;br&gt;researchers interested in implementing improvements in the Linux 
&lt;br&gt;filesystem and storage subsystems that can find their way into the 
&lt;br&gt;mainline kernel and into Linux distributions in the 2-3-year timeframe. 
&lt;br&gt;The workshop will be two days, the second day overlapping with FAST '07 
&lt;br&gt;tutorials. The workshop will be separated into storage and filesystem 
&lt;br&gt;tracks, with a combined plenary session.
&lt;br&gt;&lt;br&gt;Topics and Submissions
&lt;br&gt;Researchers and developers who are interested in attending should submit 
&lt;br&gt;a 2-3-paragraph position paper that describes the topic or topics they 
&lt;br&gt;would like to discuss during the workshop, and whether such a topic 
&lt;br&gt;would suit the filesystem track, the storage track, or the plenary 
&lt;br&gt;session. Examples of topics of interest include:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* New trends in storage technologies likely to impact Linux in the 
&lt;br&gt;next 3-5 years
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* More realistic methods of measuring filesystem and storage 
&lt;br&gt;performance
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Proposed improvements to Linux filesystems, including, in particular:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Handling of storage errors
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Filesystem repair techniques
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Scaling to very large (terabyte) filesystems
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Progress reports on implementation of features discussed at the 
&lt;br&gt;Portland Filesystem Summit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Changes to the interface between the operating system and storage 
&lt;br&gt;devices
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Proposed improvements to existing Linux storage subsystems, 
&lt;br&gt;particularly with an emphasis on:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Refactoring common code out of storage subsystems and into 
&lt;br&gt;the block layer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Better robustness and error recovery
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Barrier implementations in the face of TCQ
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Making use of storage capabilities (such as block guard or 
&lt;br&gt;non-power-of-2 block sizes) for novel filesystem and application features
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Progress reports on implementation of features discussed at the 
&lt;br&gt;Vancouver Storage Summit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Userspace tools for managing storage systems (including better 
&lt;br&gt;presentation to the user via sysfs)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Storage futures, including:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o New transports
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Changes to existing standards for new storage features
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o SAS/SATA convergence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o Do we yet have a use for Object-Based Storage Devices (OSD)?
&lt;br&gt;&lt;br&gt;Submissions must be in plain text and must be submitted via the Web 
&lt;br&gt;submission form, which will be available here soon. The submissions are 
&lt;br&gt;intended as discussion topic proposals, not refereed papers.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Linux-2007-File-System---IO-Workshop-tp6970982p6970982.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6866794</id>
	<title>Re: CFP: Linux 2007 File System &amp; IO Workshop</title>
	<published>2006-10-17T18:00:08Z</published>
	<updated>2006-10-17T18:00:08Z</updated>
	<author>
		<name>James Bottomley</name>
	</author>
	<content type="html">On Tue, 2006-10-17 at 16:25 -0700, Luben Tuikov wrote:
&lt;br&gt;&amp;gt; The only mentioning of &amp;quot;Vancouver Storage summit&amp;quot; in the web content
&lt;br&gt;&amp;gt; therein was, quoting from &lt;a href=&quot;http://www.usenix.org/events/lsf07/cfp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.usenix.org/events/lsf07/cfp/&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;gt; &amp;nbsp;...
&lt;br&gt;&amp;gt; &amp;nbsp;* Progress reports on implementation of features discussed at the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Vancouver Storage Summit
&lt;br&gt;&amp;gt; &amp;nbsp;...
&lt;br&gt;&amp;gt; So by &amp;quot;follow on&amp;quot; you mean &amp;quot;progress report&amp;quot; only? &amp;nbsp;Or will this
&lt;br&gt;&amp;gt; event also accept and/or discuss new material?
&lt;br&gt;&lt;br&gt;That was only one of the topics ... there are several other suggestions
&lt;br&gt;in the list you pulled that quote from.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Although USENIX is helping us to run it, you don't have to be
&lt;br&gt;&amp;gt; &amp;gt; a USENIX member to submit a position paper. &amp;nbsp;The idea of the position
&lt;br&gt;&amp;gt; &amp;gt; papers is to give the limited number of places (for storage we've got
&lt;br&gt;&amp;gt; &amp;gt; about 20-25 and about the same again for fs) to people who have
&lt;br&gt;&amp;gt; &amp;gt; interesting topics they need to discuss---so if you submit, be prepared
&lt;br&gt;&amp;gt; &amp;gt; to make a presentation of it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can I make a presentation of this paper:
&lt;br&gt;&lt;br&gt;You can submit it as your position paper, certainly.
&lt;br&gt;&lt;br&gt;However, the object of this event is not to collect a list of papers to
&lt;br&gt;be presented: it's not a conference with hundreds of attendees (if you
&lt;br&gt;want to present to an audience, you should submit to FAST, which is such
&lt;br&gt;a conference, with which we're co-located). &amp;nbsp;It's a roundtable type
&lt;br&gt;discussion with 20-25 people in the field; plus some plenary sessions to
&lt;br&gt;get input and ideas from people working on the filesystem layer. &amp;nbsp;The
&lt;br&gt;object is to stimulate discussion of important issues (which may be
&lt;br&gt;guided by papers or other materials). &amp;nbsp;The position paper thing is only
&lt;br&gt;to ensure people actually have things they want to discuss (and to allow
&lt;br&gt;the programme committee to pick the attendees if there would be too
&lt;br&gt;many).
&lt;br&gt;&lt;br&gt;James
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CFP%3A-Linux-2007-File-System---IO-Workshop-tp6847007p6866794.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6867763</id>
	<title>Re: CFP: Linux 2007 File System &amp; IO Workshop</title>
	<published>2006-10-17T17:25:06Z</published>
	<updated>2006-10-17T17:25:06Z</updated>
	<author>
		<name>Luben Tuikov-2</name>
	</author>
	<content type="html">--- James Bottomley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6867763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;James.Bottomley@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, 2006-10-16 at 20:40 -0400, Ric Wheeler wrote:
&lt;br&gt;&amp;gt; &amp;gt; On &amp;nbsp;February 12-13, we have put together a combined Linux file system &amp; 
&lt;br&gt;&amp;gt; &amp;gt; IO 2-day workshop in San Jose, CA. Note that the USENIX File System and 
&lt;br&gt;&amp;gt; &amp;gt; Storage Technologies conference follows us in the same venue, so we hope 
&lt;br&gt;&amp;gt; &amp;gt; to get some interaction between the two groups as well as leverage the 
&lt;br&gt;&amp;gt; &amp;gt; USENIX people to help us get this done.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; For more information, please see:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.usenix.org/events/lsf07/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.usenix.org/events/lsf07/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just to clarify, this event is a follow on to the Vancouver Storage
&lt;br&gt;&amp;gt; summit.
&lt;/div&gt;&lt;br&gt;The only mentioning of &amp;quot;Vancouver Storage summit&amp;quot; in the web content
&lt;br&gt;therein was, quoting from &lt;a href=&quot;http://www.usenix.org/events/lsf07/cfp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.usenix.org/events/lsf07/cfp/&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;nbsp;...
&lt;br&gt;&amp;nbsp;* Progress reports on implementation of features discussed at the
&lt;br&gt;&amp;nbsp; &amp;nbsp;Vancouver Storage Summit
&lt;br&gt;&amp;nbsp;...
&lt;br&gt;So by &amp;quot;follow on&amp;quot; you mean &amp;quot;progress report&amp;quot; only? &amp;nbsp;Or will this
&lt;br&gt;event also accept and/or discuss new material?
&lt;br&gt;&lt;br&gt;&amp;gt; Although USENIX is helping us to run it, you don't have to be
&lt;br&gt;&amp;gt; a USENIX member to submit a position paper. &amp;nbsp;The idea of the position
&lt;br&gt;&amp;gt; papers is to give the limited number of places (for storage we've got
&lt;br&gt;&amp;gt; about 20-25 and about the same again for fs) to people who have
&lt;br&gt;&amp;gt; interesting topics they need to discuss---so if you submit, be prepared
&lt;br&gt;&amp;gt; to make a presentation of it.
&lt;br&gt;&lt;br&gt;Can I make a presentation of this paper:
&lt;br&gt;&lt;br&gt;Serial Attached SCSI, An Architecture For Linux
&lt;br&gt;---------------------------------
&lt;br&gt;This paper would start with an overview of SCSI (SCSI-3, that is), its
&lt;br&gt;object oriented nature and why such is the direction of SCSI.
&lt;br&gt;&lt;br&gt;Then an introduction to SAS from this SCSI point of view will be given,
&lt;br&gt;i.e. where it fits in the object oriented model, why and how. There may be
&lt;br&gt;very little SAS technical introduction--a couple of sentences, something
&lt;br&gt;anyone would understand and something sufficient for the latter sections of
&lt;br&gt;the paper.
&lt;br&gt;&lt;br&gt;Then an introduction to SAS as an architecture in a SCSI stack would
&lt;br&gt;follow. A layered, object oriented model will be presented, similar to the
&lt;br&gt;one found in my code.
&lt;br&gt;&lt;br&gt;This will be accompanied with a SCSI &amp;quot;architectural roadmap&amp;quot;, the how and
&lt;br&gt;why the architecture.
&lt;br&gt;&lt;br&gt;Then an overview of pure-SCSI drivers would be given (at this point the
&lt;br&gt;paper talks about implementations at each layer of the storage software
&lt;br&gt;stack). Those are implementations which hide the transport layer completely
&lt;br&gt;in their firmware, and present a pure SCSI &amp;quot;picture&amp;quot;, a la SAM, to the
&lt;br&gt;OS. How and why they do it and why it is better.
&lt;br&gt;&lt;br&gt;Then the paper would talk about what unifies those implementations, how it
&lt;br&gt;can be done, and why it should be done this way. An introduction to SDI,
&lt;br&gt;SCSI Driver Interface, would be presented.
&lt;br&gt;&lt;br&gt;There would be a section on a SCSI/ATA Translation, SAT, and a SAT
&lt;br&gt;Layer (SATL). Where it fits, how and why. What its interface is and why.
&lt;br&gt;&lt;br&gt;The paper would include pictures and figures as necessary to show layers,
&lt;br&gt;object oriented concepts and the like.
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;The thread is here:
&lt;br&gt;&lt;a href=&quot;http://marc.theaimsgroup.com/?t=114197580200002&amp;r=1&amp;w=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://marc.theaimsgroup.com/?t=114197580200002&amp;r=1&amp;w=2&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Luben
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CFP%3A-Linux-2007-File-System---IO-Workshop-tp6847007p6867763.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6866581</id>
	<title>Re: CFP: Linux 2007 File System &amp; IO Workshop</title>
	<published>2006-10-17T16:40:34Z</published>
	<updated>2006-10-17T16:40:34Z</updated>
	<author>
		<name>James Bottomley</name>
	</author>
	<content type="html">On Mon, 2006-10-16 at 20:40 -0400, Ric Wheeler wrote:
&lt;br&gt;&amp;gt; On &amp;nbsp;February 12-13, we have put together a combined Linux file system &amp; 
&lt;br&gt;&amp;gt; IO 2-day workshop in San Jose, CA. Note that the USENIX File System and 
&lt;br&gt;&amp;gt; Storage Technologies conference follows us in the same venue, so we hope 
&lt;br&gt;&amp;gt; to get some interaction between the two groups as well as leverage the 
&lt;br&gt;&amp;gt; USENIX people to help us get this done.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For more information, please see:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.usenix.org/events/lsf07/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.usenix.org/events/lsf07/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Just to clarify, this event is a follow on to the Vancouver Storage
&lt;br&gt;summit. &amp;nbsp; Although USENIX is helping us to run it, you don't have to be
&lt;br&gt;a USENIX member to submit a position paper. &amp;nbsp;The idea of the position
&lt;br&gt;papers is to give the limited number of places (for storage we've got
&lt;br&gt;about 20-25 and about the same again for fs) to people who have
&lt;br&gt;interesting topics they need to discuss---so if you submit, be prepared
&lt;br&gt;to make a presentation of it.
&lt;br&gt;&lt;br&gt;James
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CFP%3A-Linux-2007-File-System---IO-Workshop-tp6847007p6866581.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6847007</id>
	<title>CFP: Linux 2007 File System &amp; IO Workshop</title>
	<published>2006-10-16T18:40:46Z</published>
	<updated>2006-10-16T18:40:46Z</updated>
	<author>
		<name>Ric Wheeler</name>
	</author>
	<content type="html">On &amp;nbsp;February 12-13, we have put together a combined Linux file system &amp; 
&lt;br&gt;IO 2-day workshop in San Jose, CA. Note that the USENIX File System and 
&lt;br&gt;Storage Technologies conference follows us in the same venue, so we hope 
&lt;br&gt;to get some interaction between the two groups as well as leverage the 
&lt;br&gt;USENIX people to help us get this done.
&lt;br&gt;&lt;br&gt;For more information, please see:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.usenix.org/events/lsf07/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.usenix.org/events/lsf07/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please direct question to the program committee members. If you want to 
&lt;br&gt;hit all of us in one go, you can use:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6847007&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lsf07pc@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;ric
&lt;br&gt;&lt;br&gt;&lt;br&gt;*
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CFP%3A-Linux-2007-File-System---IO-Workshop-tp6847007p6847007.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6068987</id>
	<title>[Ext2-devel] This is the last message to be sent to the ext2-devel mailing list</title>
	<published>2006-08-30T15:36:40Z</published>
	<updated>2006-08-30T15:36:40Z</updated>
	<author>
		<name>Theodore Tso</name>
	</author>
	<content type="html">&lt;br&gt;In the future, traffic should be sent to the &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6068987&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux-ext4@...&lt;/a&gt;
&lt;br&gt;mailing list.
&lt;br&gt;&lt;br&gt;If you haven't yet subscribed to the linux-ext4 list, information on how
&lt;br&gt;to subscribe can be found here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Despite the listname of linux-ext4, all topics related to the
&lt;br&gt;development and bug-fixes of the ext2, ext3, and soon-to-be ext4
&lt;br&gt;filesystems will be discussed on the list. &amp;nbsp;We are just calling it
&lt;br&gt;linux-ext4 since the main focus of future development will be on the
&lt;br&gt;ext4 codebase.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Ted
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6068987&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel--This-is-the-last-message-to-be-sent-to-the-ext2-devel-mailing-list-tp6068987p6068987.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6065097</id>
	<title>Re: [Ext2-devel] [PATCH] 2/6 Detect overflows in loop counters</title>
	<published>2006-08-30T12:18:21Z</published>
	<updated>2006-08-30T12:18:21Z</updated>
	<author>
		<name>Eric Sandeen-4</name>
	</author>
	<content type="html">Theodore Tso wrote:
&lt;br&gt;&amp;gt; Thanks, applied.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As a reminder, I'd appreciate it if you included ChangeLog entries and
&lt;br&gt;&amp;gt; if you try to avoid lines in C code which overrun 80 columns. &amp;nbsp;I fixed
&lt;br&gt;&amp;gt; those up after I applied your patch.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 						- Ted
&lt;br&gt;&lt;br&gt;I've respun &amp; refactored the remaining patches against the mercurial 
&lt;br&gt;repo, and put changelog entries in...
&lt;br&gt;&lt;br&gt;new patchset &amp; series is at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://people.redhat.com/esandeen/ext3/e2fsprogs-1.39-16T/e2fsprogs-hg-20060830-16T-patches.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.redhat.com/esandeen/ext3/e2fsprogs-1.39-16T/e2fsprogs-hg-20060830-16T-patches.tar.gz&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-Eric
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6065097&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel---PATCH--2-6-Detect-overflows-in-loop-counters-tp5840358p6065097.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6063464</id>
	<title>Re: [Ext2-devel] [PATCH] 1/6 Avoid overflows in calculations of	groups_count</title>
	<published>2006-08-30T11:01:16Z</published>
	<updated>2006-08-30T11:01:16Z</updated>
	<author>
		<name>Eric Sandeen-4</name>
	</author>
	<content type="html">Theodore Tso wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Aug 16, 2006 at 03:50:02PM -0500, Eric Sandeen wrote:
&lt;br&gt;&amp;gt;&amp;gt; When s_blocks_count is at its maximum value (2^32-1), the way
&lt;br&gt;&amp;gt;&amp;gt; groups_count was calculated could overflow; change the arithmetic to
&lt;br&gt;&amp;gt;&amp;gt; avoid this.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This is the same calculation that was submitted for the ext3 kernel
&lt;br&gt;&amp;gt;&amp;gt; mount code.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6063464&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I created a new inline function, ext2fs_div_ceil(), which is used to
&lt;br&gt;&amp;gt; replace the problematic calculations. &amp;nbsp;This makes it easier to audit
&lt;br&gt;&amp;gt; the changes, and it turns out it is needed in a lot more places than
&lt;br&gt;&amp;gt; just the groups_count calculation. &amp;nbsp;I've taken hopefully all of the
&lt;br&gt;&amp;gt; other related fixups from your other patch and bundled them into this
&lt;br&gt;&amp;gt; patchset which introduces the use of the div_ceil() function.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 						- Ted
&lt;/div&gt;&lt;br&gt;Looks good, Ted - and I think there's one more:
&lt;br&gt;&lt;br&gt;Index: e2fsprogs-1.39/resize/online.c
&lt;br&gt;===================================================================
&lt;br&gt;--- e2fsprogs-1.39.orig/resize/online.c
&lt;br&gt;+++ e2fsprogs-1.39/resize/online.c
&lt;br&gt;@@ -59,8 +59,7 @@ errcode_t online_resize_fs(ext2_filsys f
&lt;br&gt;&amp;nbsp;		exit(1);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	r_frac = ((100 * sb-&amp;gt;s_r_blocks_count) + sb-&amp;gt;s_blocks_count-1) /
&lt;br&gt;-		sb-&amp;gt;s_blocks_count;
&lt;br&gt;+	r_frac = ext2fs_div_ceil(100 * sb-&amp;gt;s_r_blocks_count, sb-&amp;gt;s_blocks_count);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	retval = ext2fs_read_bitmaps(fs);
&lt;br&gt;&amp;nbsp;	if (retval)
&lt;br&gt;&lt;br&gt;-Eric
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6063464&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel---PATCH--1-6-Avoid-overflows-in-calculations-of-groups_count-tp5840316p6063464.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6053566</id>
	<title>Re: [Ext2-devel] [PATCH] 3/6 Avoid overflow in calculation of resvd blocks in resized fs</title>
	<published>2006-08-30T01:10:22Z</published>
	<updated>2006-08-30T01:10:22Z</updated>
	<author>
		<name>Theodore Tso</name>
	</author>
	<content type="html">On Wed, Aug 16, 2006 at 03:51:50PM -0500, Eric Sandeen wrote:
&lt;br&gt;&amp;gt; The way the new reserved blocks count was calculated at resize time could
&lt;br&gt;&amp;gt; overflow pretty easily.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The new calculation changes the rounding slightly, so fix up the expected
&lt;br&gt;&amp;gt; output for the resize tests as well.
&lt;br&gt;&lt;br&gt;I created a new function, e2p_percent, which won't overflow and which
&lt;br&gt;calculates the percentages as accurately as possible, so it doesn't
&lt;br&gt;need to adjust the expected output of the test suite.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Ted
&lt;br&gt;&lt;br&gt;# HG changeset patch
&lt;br&gt;# User &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;# Date 1156921693 14400
&lt;br&gt;# Node ID 4a2b0d6c55fc3bea9e5bed4faa82845676f3be2b
&lt;br&gt;# Parent &amp;nbsp;14e45223b10be14cc318f10b804a3fd535a86ad5
&lt;br&gt;Fix potential 2**32-1 overflow by using e2p_percent()
&lt;br&gt;&lt;br&gt;Add a new functiom, e2p_percent(), which correct calculates the percentage
&lt;br&gt;of a number based on a given percentage, without worrying about overflow
&lt;br&gt;issues. &amp;nbsp;This is used where we calculate the number of reserved blocks using
&lt;br&gt;a percentage of the total number of blocks in a filesystem.
&lt;br&gt;&lt;br&gt;Based on patches from Eric Sandeen, but generalized to use this new function.
&lt;br&gt;&lt;br&gt;Signed-off-by: &amp;quot;Theodore Ts'o&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc lib/e2p/ChangeLog
&lt;br&gt;--- a/lib/e2p/ChangeLog	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/lib/e2p/ChangeLog	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -1,3 +1,9 @@ 2006-08-05 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;+2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* percent.c (e2p_percent): Add a new function which accurate and
&lt;br&gt;+		without risk of overflow calculates a percentage of a base
&lt;br&gt;+		number.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2006-08-05 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* pf.c: Add support for EXT4_EXTENTS_FL flag.
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc lib/e2p/Makefile.in
&lt;br&gt;--- a/lib/e2p/Makefile.in	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/lib/e2p/Makefile.in	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -19,7 +19,7 @@ OBJS=		feature.o fgetflags.o fsetflags.o
&lt;br&gt;&amp;nbsp;OBJS=		feature.o fgetflags.o fsetflags.o fgetversion.o fsetversion.o \
&lt;br&gt;&amp;nbsp;		getflags.o getversion.o hashstr.o iod.o ls.o mntopts.o \
&lt;br&gt;&amp;nbsp;		parse_num.o pe.o pf.o ps.o setflags.o setversion.o uuid.o \
&lt;br&gt;-		ostype.o 
&lt;br&gt;+		ostype.o percent.o
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;SRCS=		$(srcdir)/feature.c $(srcdir)/fgetflags.c \
&lt;br&gt;&amp;nbsp;		$(srcdir)/fsetflags.c $(srcdir)/fgetversion.c \
&lt;br&gt;@@ -28,7 +28,7 @@ SRCS=		$(srcdir)/feature.c $(srcdir)/fge
&lt;br&gt;&amp;nbsp;		$(srcdir)/ls.c $(srcdir)/mntopts.c $(srcdir)/parse_num.c \
&lt;br&gt;&amp;nbsp;		$(srcdir)/pe.c $(srcdir)/pf.c $(srcdir)/ps.c \
&lt;br&gt;&amp;nbsp;		$(srcdir)/setflags.c $(srcdir)/setversion.c $(srcdir)/uuid.c \
&lt;br&gt;-		$(srcdir)/ostype.c
&lt;br&gt;+		$(srcdir)/ostype.c $(srcdir)/percent.o
&lt;br&gt;&amp;nbsp;HFILES= e2p.h
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;LIBRARY= libe2p
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc lib/e2p/e2p.h
&lt;br&gt;--- a/lib/e2p/e2p.h	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/lib/e2p/e2p.h	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -50,3 +50,5 @@ unsigned long parse_num_blocks(const cha
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;char *e2p_os2string(int os_type);
&lt;br&gt;&amp;nbsp;int e2p_string2os(char *str);
&lt;br&gt;+
&lt;br&gt;+unsigned int e2p_percent(int percent, unsigned int base);
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc lib/e2p/percent.c
&lt;br&gt;--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
&lt;br&gt;+++ b/lib/e2p/percent.c	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -0,0 +1,62 @@
&lt;br&gt;+/*
&lt;br&gt;+ * percent.c		- Take percentage of a number
&lt;br&gt;+ *
&lt;br&gt;+ * Copyright (C) 2006 &amp;nbsp;Theodore Ts'o &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+ * 
&lt;br&gt;+ * This file can be redistributed under the terms of the GNU Library General
&lt;br&gt;+ * Public License
&lt;br&gt;+ */
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;e2p.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;stdlib.h&amp;gt;
&lt;br&gt;+
&lt;br&gt;+/*
&lt;br&gt;+ * We work really hard to calculate this accurately, while avoiding
&lt;br&gt;+ * an overflow. &amp;nbsp;&amp;quot;Is there a hyphen in anal-retentive?&amp;quot; &amp;nbsp;:-)
&lt;br&gt;+ */
&lt;br&gt;+unsigned int e2p_percent(int percent, unsigned int base)
&lt;br&gt;+{
&lt;br&gt;+	unsigned int mask = ~((1 &amp;lt;&amp;lt; (sizeof(unsigned int) - 1) * 8) - 1);
&lt;br&gt;+
&lt;br&gt;+	if (100 % percent == 0)
&lt;br&gt;+		return base / (100 / percent);
&lt;br&gt;+	if (mask &amp; base) 
&lt;br&gt;+		return (base / 100) * percent;
&lt;br&gt;+	return base * percent / 100;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+#ifdef DEBUG
&lt;br&gt;+#include &amp;lt;unistd.h&amp;gt;
&lt;br&gt;+#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;+
&lt;br&gt;+main(int argc, char **argv)
&lt;br&gt;+{
&lt;br&gt;+	unsigned int base;
&lt;br&gt;+	int percent;
&lt;br&gt;+	char *p;
&lt;br&gt;+	int log_block_size = 0;
&lt;br&gt;+
&lt;br&gt;+	if (argc != 3) {
&lt;br&gt;+		fprintf(stderr, &amp;quot;Usage: %s percent base\n&amp;quot;, argv[0]);
&lt;br&gt;+		exit(1);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	percent = strtoul(argv[1], &amp;p, 0);
&lt;br&gt;+	if (p[0] &amp;&amp; p[1]) {
&lt;br&gt;+		fprintf(stderr, &amp;quot;Bad percent: %s\n&amp;quot;, argv[1]);
&lt;br&gt;+		exit(1);
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	base = strtoul(argv[2], &amp;p, 0);
&lt;br&gt;+	if (p[0] &amp;&amp; p[1]) {
&lt;br&gt;+		fprintf(stderr, &amp;quot;Bad base: %s\n&amp;quot;, argv[2]);
&lt;br&gt;+		exit(1);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	printf(&amp;quot;%d percent of %u is %u.\n&amp;quot;, percent, base,
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp; e2p_percent(percent, base));
&lt;br&gt;+
&lt;br&gt;+	exit(0);
&lt;br&gt;+}
&lt;br&gt;+#endif
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc misc/ChangeLog
&lt;br&gt;--- a/misc/ChangeLog	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/misc/ChangeLog	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -1,4 +1,8 @@ 2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp;2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* tune2fs.c (main), mke2fs.c (PRS): Use e2p_percent to properly
&lt;br&gt;+		calculate the number of reserved blocks without worrying
&lt;br&gt;+		about overflow.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* Makefile.in (resize2fs): Remove unused (and bogus) resize2fs
&lt;br&gt;&amp;nbsp;		rule, which shouldn't be in misc/Makefile.in
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc misc/mke2fs.c
&lt;br&gt;--- a/misc/mke2fs.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/misc/mke2fs.c	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -1447,8 +1447,8 @@ static void PRS(int argc, char *argv[])
&lt;br&gt;&amp;nbsp;	/*
&lt;br&gt;&amp;nbsp;	 * Calculate number of blocks to reserve
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;-	fs_param.s_r_blocks_count = (fs_param.s_blocks_count * reserved_ratio)
&lt;br&gt;-		/ 100;
&lt;br&gt;+	fs_param.s_r_blocks_count = e2p_percent(reserved_ratio, 
&lt;br&gt;+						fs_param.s_blocks_count);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;int main (int argc, char *argv[])
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc misc/tune2fs.c
&lt;br&gt;--- a/misc/tune2fs.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/misc/tune2fs.c	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -823,7 +823,8 @@ int main (int argc, char ** argv)
&lt;br&gt;&amp;nbsp;		printf (_(&amp;quot;Setting interval between checks to %lu seconds\n&amp;quot;), interval);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	if (m_flag) {
&lt;br&gt;-		sb-&amp;gt;s_r_blocks_count = sb-&amp;gt;s_blocks_count * reserved_ratio /100;
&lt;br&gt;+		sb-&amp;gt;s_r_blocks_count = e2p_percent(reserved_ratio,
&lt;br&gt;+						 &amp;nbsp; sb-&amp;gt;s_blocks_count);
&lt;br&gt;&amp;nbsp;		ext2fs_mark_super_dirty(fs);
&lt;br&gt;&amp;nbsp;		printf (_(&amp;quot;Setting reserved blocks percentage to %g%% (%u blocks)\n&amp;quot;),
&lt;br&gt;&amp;nbsp;			reserved_ratio, sb-&amp;gt;s_r_blocks_count);
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc resize/ChangeLog
&lt;br&gt;--- a/resize/ChangeLog	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/resize/ChangeLog	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -1,4 +1,8 @@ 2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp;2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* resize2fs.c (adjust_fs_info), online.c (online_resize_fs): Use
&lt;br&gt;+		e2p_percent to properly calculate the number of reserved
&lt;br&gt;+		blocks without worrying about overflow.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* resize2fs.c (ext2fs_calculate_summary_stats): Fix potential
&lt;br&gt;&amp;nbsp;		overflow problems when the number of blocks is close to
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc resize/online.c
&lt;br&gt;--- a/resize/online.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/resize/online.c	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -107,7 +107,8 @@ errcode_t online_resize_fs(ext2_filsys f
&lt;br&gt;&amp;nbsp;				sb-&amp;gt;s_first_data_block - 
&lt;br&gt;&amp;nbsp;				(i * sb-&amp;gt;s_blocks_per_group);
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;-		input.reserved_blocks = input.blocks_count * r_frac / 100;
&lt;br&gt;+		input.reserved_blocks = e2p_percent(r_frac, 
&lt;br&gt;+						 &amp;nbsp; &amp;nbsp;input.blocks_count);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#if 0
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;new block bitmap is at 0x%04x\n&amp;quot;, input.block_bitmap);
&lt;br&gt;diff -r 14e45223b10b -r 4a2b0d6c55fc resize/resize2fs.c
&lt;br&gt;--- a/resize/resize2fs.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;+++ b/resize/resize2fs.c	Wed Aug 30 03:08:13 2006 -0400
&lt;br&gt;@@ -245,8 +245,8 @@ retry:
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;&amp;nbsp;	blk = old_fs-&amp;gt;super-&amp;gt;s_r_blocks_count * 100 /
&lt;br&gt;&amp;nbsp;		old_fs-&amp;gt;super-&amp;gt;s_blocks_count;
&lt;br&gt;-	fs-&amp;gt;super-&amp;gt;s_r_blocks_count = ((fs-&amp;gt;super-&amp;gt;s_blocks_count * blk)
&lt;br&gt;-				 &amp;nbsp; &amp;nbsp; &amp;nbsp; / 100);
&lt;br&gt;+	fs-&amp;gt;super-&amp;gt;s_r_blocks_count = e2p_percent(blk, 
&lt;br&gt;+						 &amp;nbsp;fs-&amp;gt;super-&amp;gt;s_blocks_count);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/*
&lt;br&gt;&amp;nbsp;	 * Adjust the bitmaps for size
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053566&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel---PATCH--3-6-Avoid-overflow-in-calculation-of-resvd-blocks-in-resized-fs-tp5840360p6053566.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6053087</id>
	<title>Re: [Ext2-devel] [PATCH] 2/6 Detect overflows in loop counters</title>
	<published>2006-08-30T00:18:25Z</published>
	<updated>2006-08-30T00:18:25Z</updated>
	<author>
		<name>Theodore Tso</name>
	</author>
	<content type="html">Thanks, applied.
&lt;br&gt;&lt;br&gt;As a reminder, I'd appreciate it if you included ChangeLog entries and
&lt;br&gt;if you try to avoid lines in C code which overrun 80 columns. &amp;nbsp;I fixed
&lt;br&gt;those up after I applied your patch.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Ted
&lt;br&gt;&lt;br&gt;# HG changeset patch
&lt;br&gt;# User &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;# Date 1156918615 14400
&lt;br&gt;# Node ID 14e45223b10be14cc318f10b804a3fd535a86ad5
&lt;br&gt;# Parent &amp;nbsp;d609388faa895de79ff143e53f8ed04557048c42
&lt;br&gt;Detect overflows in loop counters
&lt;br&gt;&lt;br&gt;For loops such as:
&lt;br&gt;&lt;br&gt;for (i=1; i &amp;lt;= fs-&amp;gt;super-&amp;gt;s_blocks_count; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;do_stuff&amp;gt;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;if i is an int and s_blocks_count is (2^32-1), the condition is never false.
&lt;br&gt;Change these loops to:
&lt;br&gt;&lt;br&gt;for (i=1; i &amp;lt;= fs-&amp;gt;super-&amp;gt;s_blocks_count &amp;&amp; i &amp;gt; 0; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;do_stuff&amp;gt;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;to stop the loop when we overflow i
&lt;br&gt;&lt;br&gt;Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: &amp;quot;Theodore Ts'o&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;diff -r d609388faa89 -r 14e45223b10b e2fsck/ChangeLog
&lt;br&gt;--- a/e2fsck/ChangeLog	Wed Aug 30 02:06:41 2006 -0400
&lt;br&gt;+++ b/e2fsck/ChangeLog	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;@@ -1,3 +1,9 @@ 2006-08-29 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;+2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* pass5.c (check_inode_bitmaps, check_inode_end, check_block_end):
&lt;br&gt;+	* pass4.c (e2fsck_pass4): Fix potential overflow problems when the
&lt;br&gt;+		number of blocks is close to 2**31.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2006-08-29 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* super.c (release_inode_blocks): Fix silly spelling error.
&lt;br&gt;diff -r d609388faa89 -r 14e45223b10b e2fsck/pass4.c
&lt;br&gt;--- a/e2fsck/pass4.c	Wed Aug 30 02:06:41 2006 -0400
&lt;br&gt;+++ b/e2fsck/pass4.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;@@ -110,8 +110,9 @@ void e2fsck_pass4(e2fsck_t ctx)
&lt;br&gt;&amp;nbsp;	if (ctx-&amp;gt;progress)
&lt;br&gt;&amp;nbsp;		if ((ctx-&amp;gt;progress)(ctx, 4, 0, maxgroup))
&lt;br&gt;&amp;nbsp;			return;
&lt;br&gt;-	
&lt;br&gt;-	for (i=1; i &amp;lt;= fs-&amp;gt;super-&amp;gt;s_inodes_count; i++) {
&lt;br&gt;+
&lt;br&gt;+	/* Protect loop from wrap-around if s_inodes_count maxed */
&lt;br&gt;+	for (i=1; i &amp;lt;= fs-&amp;gt;super-&amp;gt;s_inodes_count &amp;&amp; i &amp;gt; 0; i++) {
&lt;br&gt;&amp;nbsp;		if (ctx-&amp;gt;flags &amp; E2F_FLAG_SIGNAL_MASK)
&lt;br&gt;&amp;nbsp;			return;
&lt;br&gt;&amp;nbsp;		if ((i % fs-&amp;gt;super-&amp;gt;s_inodes_per_group) == 0) {
&lt;br&gt;diff -r d609388faa89 -r 14e45223b10b e2fsck/pass5.c
&lt;br&gt;--- a/e2fsck/pass5.c	Wed Aug 30 02:06:41 2006 -0400
&lt;br&gt;+++ b/e2fsck/pass5.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;@@ -370,7 +370,8 @@ redo_counts:
&lt;br&gt;&amp;nbsp;			EXT2_BG_INODE_UNINIT))
&lt;br&gt;&amp;nbsp;		skip_group++;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	for (i = 1; i &amp;lt;= fs-&amp;gt;super-&amp;gt;s_inodes_count; i++) {
&lt;br&gt;+	/* Protect loop from wrap-around if inodes_count is maxed */
&lt;br&gt;+	for (i = 1; i &amp;lt;= fs-&amp;gt;super-&amp;gt;s_inodes_count &amp;&amp; i &amp;gt; 0; i++) {
&lt;br&gt;&amp;nbsp;		actual = ext2fs_fast_test_inode_bitmap(ctx-&amp;gt;inode_used_map, i);
&lt;br&gt;&amp;nbsp;		if (skip_group) 
&lt;br&gt;&amp;nbsp;			bitmap = 0;
&lt;br&gt;@@ -528,8 +529,9 @@ static void check_inode_end(e2fsck_t ctx
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	if (save_inodes_count == end)
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;-	
&lt;br&gt;-	for (i = save_inodes_count + 1; i &amp;lt;= end; i++) {
&lt;br&gt;+
&lt;br&gt;+	/* protect loop from wrap-around if end is maxed */	
&lt;br&gt;+	for (i = save_inodes_count + 1; i &amp;lt;= end &amp;&amp; i &amp;gt; save_inodes_count; i++) {
&lt;br&gt;&amp;nbsp;		if (!ext2fs_test_inode_bitmap(fs-&amp;gt;inode_map, i)) {
&lt;br&gt;&amp;nbsp;			if (fix_problem(ctx, PR_5_INODE_BMAP_PADDING, &amp;pctx)) {
&lt;br&gt;&amp;nbsp;				for (i = save_inodes_count + 1; i &amp;lt;= end; i++)
&lt;br&gt;@@ -572,8 +574,9 @@ static void check_block_end(e2fsck_t ctx
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	if (save_blocks_count == end)
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;-	
&lt;br&gt;-	for (i = save_blocks_count + 1; i &amp;lt;= end; i++) {
&lt;br&gt;+
&lt;br&gt;+	/* Protect loop from wrap-around if end is maxed */	
&lt;br&gt;+	for (i = save_blocks_count + 1; i &amp;lt;= end &amp;&amp; i &amp;gt; save_blocks_count; i++) {
&lt;br&gt;&amp;nbsp;		if (!ext2fs_test_block_bitmap(fs-&amp;gt;block_map, i)) {
&lt;br&gt;&amp;nbsp;			if (fix_problem(ctx, PR_5_BLOCK_BMAP_PADDING, &amp;pctx)) {
&lt;br&gt;&amp;nbsp;				for (i = save_blocks_count + 1; i &amp;lt;= end; i++)
&lt;br&gt;diff -r d609388faa89 -r 14e45223b10b lib/ext2fs/ChangeLog
&lt;br&gt;--- a/lib/ext2fs/ChangeLog	Wed Aug 30 02:06:41 2006 -0400
&lt;br&gt;+++ b/lib/ext2fs/ChangeLog	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;@@ -1,4 +1,7 @@ 2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp;2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* bitmaps.c (ext2fs_set_bitmap_padding): Fix potential overflow
&lt;br&gt;+		problems when the number of blocks is close to 2**31.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* ext2fs.h (ext2fs_div_ceil): Add new function which safely
&lt;br&gt;&amp;nbsp;		calculates an integer division where the result is always
&lt;br&gt;diff -r d609388faa89 -r 14e45223b10b lib/ext2fs/bitmaps.c
&lt;br&gt;--- a/lib/ext2fs/bitmaps.c	Wed Aug 30 02:06:41 2006 -0400
&lt;br&gt;+++ b/lib/ext2fs/bitmaps.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;@@ -102,7 +102,10 @@ void ext2fs_set_bitmap_padding(ext2fs_ge
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	__u32	i, j;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	for (i=map-&amp;gt;end+1, j = i - map-&amp;gt;start; i &amp;lt;= map-&amp;gt;real_end; i++, j++)
&lt;br&gt;+	/* Protect loop from wrap-around if map-&amp;gt;real_end is maxed */
&lt;br&gt;+	for (i=map-&amp;gt;end+1, j = i - map-&amp;gt;start; 
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; i &amp;lt;= map-&amp;gt;real_end &amp;&amp; i &amp;gt; map-&amp;gt;end; 
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; i++, j++)
&lt;br&gt;&amp;nbsp;		ext2fs_set_bit(j, map-&amp;gt;bitmap);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	return;
&lt;br&gt;diff -r d609388faa89 -r 14e45223b10b resize/ChangeLog
&lt;br&gt;--- a/resize/ChangeLog	Wed Aug 30 02:06:41 2006 -0400
&lt;br&gt;+++ b/resize/ChangeLog	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;@@ -1,4 +1,8 @@ 2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp;2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* resize2fs.c (ext2fs_calculate_summary_stats): Fix potential
&lt;br&gt;+		overflow problems when the number of blocks is close to
&lt;br&gt;+		2**31.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* resize2fs.c (adjust_fs_info): Use ext2fs_div_ceil() instead of a
&lt;br&gt;&amp;nbsp;		using an open-coded expression which was subject to
&lt;br&gt;diff -r d609388faa89 -r 14e45223b10b resize/resize2fs.c
&lt;br&gt;--- a/resize/resize2fs.c	Wed Aug 30 02:06:41 2006 -0400
&lt;br&gt;+++ b/resize/resize2fs.c	Wed Aug 30 02:16:55 2006 -0400
&lt;br&gt;@@ -1582,7 +1582,9 @@ static errcode_t ext2fs_calculate_summar
&lt;br&gt;&amp;nbsp;	total_free = 0;
&lt;br&gt;&amp;nbsp;	count = 0;
&lt;br&gt;&amp;nbsp;	group = 0;
&lt;br&gt;-	for (ino = 1; ino &amp;lt;= fs-&amp;gt;super-&amp;gt;s_inodes_count; ino++) {
&lt;br&gt;+
&lt;br&gt;+	/* Protect loop from wrap-around if s_inodes_count maxed */
&lt;br&gt;+	for (ino = 1; ino &amp;lt;= fs-&amp;gt;super-&amp;gt;s_inodes_count &amp;&amp; ino &amp;gt; 0; ino++) {
&lt;br&gt;&amp;nbsp;		if (!ext2fs_fast_test_inode_bitmap(fs-&amp;gt;inode_map, ino)) {
&lt;br&gt;&amp;nbsp;			group_free++;
&lt;br&gt;&amp;nbsp;			total_free++;
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6053087&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel---PATCH--2-6-Detect-overflows-in-loop-counters-tp5840358p6053087.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6052950</id>
	<title>Re: [Ext2-devel] [PATCH] 1/6 Avoid overflows in calculations of groups_count</title>
	<published>2006-08-30T00:01:29Z</published>
	<updated>2006-08-30T00:01:29Z</updated>
	<author>
		<name>Theodore Tso</name>
	</author>
	<content type="html">On Wed, Aug 16, 2006 at 03:50:02PM -0500, Eric Sandeen wrote:
&lt;br&gt;&amp;gt; When s_blocks_count is at its maximum value (2^32-1), the way
&lt;br&gt;&amp;gt; groups_count was calculated could overflow; change the arithmetic to
&lt;br&gt;&amp;gt; avoid this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is the same calculation that was submitted for the ext3 kernel
&lt;br&gt;&amp;gt; mount code.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;I created a new inline function, ext2fs_div_ceil(), which is used to
&lt;br&gt;replace the problematic calculations. &amp;nbsp;This makes it easier to audit
&lt;br&gt;the changes, and it turns out it is needed in a lot more places than
&lt;br&gt;just the groups_count calculation. &amp;nbsp;I've taken hopefully all of the
&lt;br&gt;other related fixups from your other patch and bundled them into this
&lt;br&gt;patchset which introduces the use of the div_ceil() function.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Ted
&lt;br&gt;&lt;br&gt;# HG changeset patch
&lt;br&gt;# User &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;# Date 1156917420 14400
&lt;br&gt;# Node ID 59f8a8974d914231642239f176284d92dce0678d
&lt;br&gt;# Parent &amp;nbsp;c76ddbe4519a571de3868c2888d8bb99a559046f
&lt;br&gt;Fix potential 2**32-1 overflow problems by ext2fs_div_ceil()
&lt;br&gt;&lt;br&gt;Add a new function, ext2fs_div_ceil(), which correctly calculates a division
&lt;br&gt;of two unsigned integer where the result is always rounded up the next
&lt;br&gt;largest integer. &amp;nbsp; This is used everywhere where we might have
&lt;br&gt;previously caused an overflow when the number of blocks
&lt;br&gt;or inodes is too close to 2**32-1.
&lt;br&gt;&lt;br&gt;Based on patches from Eric Sandeen, but generalized to use this new function
&lt;br&gt;&lt;br&gt;Signed-off-by: &amp;quot;Theodore Ts'o&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 ext2ed/ChangeLog
&lt;br&gt;--- a/ext2ed/ChangeLog	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/ext2ed/ChangeLog	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -1,3 +1,8 @@ 2006-06-30 &amp;nbsp;Theodore Ts'o &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;+2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* init.c (div_ceil, set_file_system_info): Fix potential overflow
&lt;br&gt;+		for really big filesystems.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2006-06-30 &amp;nbsp;Theodore Ts'o &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* Release of E2fsprogs 1.38
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 ext2ed/init.c
&lt;br&gt;--- a/ext2ed/init.c	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/ext2ed/init.c	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -370,6 +370,13 @@ void add_user_command (struct struct_com
&lt;br&gt;&amp;nbsp;	ptr-&amp;gt;callback [num]=callback;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static unsigned int div_ceil(unsigned int a, unsigned int b)
&lt;br&gt;+{
&lt;br&gt;+	if (!a)
&lt;br&gt;+		return 0;
&lt;br&gt;+	return ((a - 1) / b) + 1;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;int set_file_system_info (void)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;@@ -415,8 +422,8 @@ int set_file_system_info (void)
&lt;br&gt;&amp;nbsp;			file_system_info.first_group_desc_offset=2*EXT2_MIN_BLOCK_SIZE;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			file_system_info.first_group_desc_offset=file_system_info.block_size;
&lt;br&gt;-		file_system_info.groups_count=(	sb-&amp;gt;s_blocks_count-sb-&amp;gt;s_first_data_block+sb-&amp;gt;s_blocks_per_group-1) /
&lt;br&gt;-						sb-&amp;gt;s_blocks_per_group;
&lt;br&gt;+		file_system_info.groups_count = div_ceil(sb-&amp;gt;s_blocks_count, 
&lt;br&gt;+						 sb-&amp;gt;s_blocks_per_group);
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;		file_system_info.inodes_per_block=file_system_info.block_size/sizeof (struct ext2_inode);
&lt;br&gt;&amp;nbsp;		file_system_info.blocks_per_group=sb-&amp;gt;s_inodes_per_group/file_system_info.inodes_per_block;
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 lib/ext2fs/ChangeLog
&lt;br&gt;--- a/lib/ext2fs/ChangeLog	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/lib/ext2fs/ChangeLog	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -1,3 +1,14 @@ 2006-08-06 &amp;nbsp;Andreas Dilger &amp;lt;adilger@clus
&lt;br&gt;+2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* ext2fs.h (ext2fs_div_ceil): Add new function which safely
&lt;br&gt;+		calculates an integer division where the result is always
&lt;br&gt;+		rounded up while avoiding overflow errors.
&lt;br&gt;+
&lt;br&gt;+	* initialize.c (calc_reserved_gdt_blocks, ext2fs_initialize):
&lt;br&gt;+	* openfs.c (ext2fs_open2): Use ext2fs_div_ceil() instead of a 
&lt;br&gt;+		using an open-coded expression which was subject to 
&lt;br&gt;+		overflows.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2006-08-06 &amp;nbsp;Andreas Dilger &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adilger@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* bitops.h (ext2fs_cpu_to_le32, ext2fs_le64_to_cpu,
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 lib/ext2fs/ext2fs.h
&lt;br&gt;--- a/lib/ext2fs/ext2fs.h	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/lib/ext2fs/ext2fs.h	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -965,6 +965,7 @@ extern int ext2fs_group_of_ino(ext2_fils
&lt;br&gt;&amp;nbsp;extern int ext2fs_group_of_ino(ext2_filsys fs, ext2_ino_t ino);
&lt;br&gt;&amp;nbsp;extern blk_t ext2fs_inode_data_blocks(ext2_filsys fs,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; &amp;nbsp;struct ext2_inode *inode);
&lt;br&gt;+extern unsigned int ext2fs_div_ceil(unsigned int a, unsigned int b);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;&amp;nbsp; * The actual inlined functions definitions themselves...
&lt;br&gt;@@ -1132,6 +1133,16 @@ _INLINE_ blk_t ext2fs_inode_data_blocks(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return inode-&amp;gt;i_blocks -
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(inode-&amp;gt;i_file_acl ? fs-&amp;gt;blocksize &amp;gt;&amp;gt; 9 : 0);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+/*
&lt;br&gt;+ * This is an efficient, overflow safe way of calculating ceil((1.0 * a) / b)
&lt;br&gt;+ */
&lt;br&gt;+_INLINE_ unsigned int ext2fs_div_ceil(unsigned int a, unsigned int b)
&lt;br&gt;+{
&lt;br&gt;+	if (!a)
&lt;br&gt;+		return 0;
&lt;br&gt;+	return ((a - 1) / b) + 1;
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;#undef _INLINE_
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 lib/ext2fs/initialize.c
&lt;br&gt;--- a/lib/ext2fs/initialize.c	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/lib/ext2fs/initialize.c	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -77,8 +77,8 @@ static unsigned int calc_reserved_gdt_bl
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;&amp;nbsp;	if (sb-&amp;gt;s_blocks_count &amp;lt; max_blocks / 1024)
&lt;br&gt;&amp;nbsp;		max_blocks = sb-&amp;gt;s_blocks_count * 1024;
&lt;br&gt;-	rsv_groups = (max_blocks - sb-&amp;gt;s_first_data_block + bpg - 1) / bpg;
&lt;br&gt;-	rsv_gdb = (rsv_groups + gdpb - 1) / gdpb - fs-&amp;gt;desc_blocks;
&lt;br&gt;+	rsv_groups = ext2fs_div_ceil(max_blocks - sb-&amp;gt;s_first_data_block, bpg);
&lt;br&gt;+	rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs-&amp;gt;desc_blocks;
&lt;br&gt;&amp;nbsp;	if (rsv_gdb &amp;gt; EXT2_ADDR_PER_BLOCK(sb))
&lt;br&gt;&amp;nbsp;		rsv_gdb = EXT2_ADDR_PER_BLOCK(sb);
&lt;br&gt;&amp;nbsp;#ifdef RES_GDT_DEBUG
&lt;br&gt;@@ -205,17 +205,15 @@ errcode_t ext2fs_initialize(const char *
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;retry:
&lt;br&gt;-	fs-&amp;gt;group_desc_count = (super-&amp;gt;s_blocks_count -
&lt;br&gt;-				super-&amp;gt;s_first_data_block +
&lt;br&gt;-				EXT2_BLOCKS_PER_GROUP(super) - 1)
&lt;br&gt;-		/ EXT2_BLOCKS_PER_GROUP(super);
&lt;br&gt;+	fs-&amp;gt;group_desc_count = ext2fs_div_ceil(super-&amp;gt;s_blocks_count -
&lt;br&gt;+					 &amp;nbsp; &amp;nbsp; &amp;nbsp; super-&amp;gt;s_first_data_block,
&lt;br&gt;+					 &amp;nbsp; &amp;nbsp; &amp;nbsp; EXT2_BLOCKS_PER_GROUP(super));
&lt;br&gt;&amp;nbsp;	if (fs-&amp;gt;group_desc_count == 0) {
&lt;br&gt;&amp;nbsp;		retval = EXT2_ET_TOOSMALL;
&lt;br&gt;&amp;nbsp;		goto cleanup;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;-	fs-&amp;gt;desc_blocks = (fs-&amp;gt;group_desc_count +
&lt;br&gt;-			 &amp;nbsp; EXT2_DESC_PER_BLOCK(super) - 1)
&lt;br&gt;-		/ EXT2_DESC_PER_BLOCK(super);
&lt;br&gt;+	fs-&amp;gt;desc_blocks = ext2fs_div_ceil(fs-&amp;gt;group_desc_count,
&lt;br&gt;+					 &amp;nbsp;EXT2_DESC_PER_BLOCK(super));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	i = fs-&amp;gt;blocksize &amp;gt;= 4096 ? 1 : 4096 / fs-&amp;gt;blocksize;
&lt;br&gt;&amp;nbsp;	set_field(s_inodes_count, super-&amp;gt;s_blocks_count / i);
&lt;br&gt;@@ -233,8 +231,7 @@ retry:
&lt;br&gt;&amp;nbsp;	 * should be. &amp;nbsp;But make sure that we don't allocate more than
&lt;br&gt;&amp;nbsp;	 * one bitmap's worth of inodes each group.
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;-	ipg = (super-&amp;gt;s_inodes_count + fs-&amp;gt;group_desc_count - 1) /
&lt;br&gt;-		fs-&amp;gt;group_desc_count;
&lt;br&gt;+	ipg = ext2fs_div_ceil(super-&amp;gt;s_inodes_count, fs-&amp;gt;group_desc_count);
&lt;br&gt;&amp;nbsp;	if (ipg &amp;gt; fs-&amp;gt;blocksize * 8) {
&lt;br&gt;&amp;nbsp;		if (super-&amp;gt;s_blocks_per_group &amp;gt;= 256) {
&lt;br&gt;&amp;nbsp;			/* Try again with slightly different parameters */
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 lib/ext2fs/openfs.c
&lt;br&gt;--- a/lib/ext2fs/openfs.c	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/lib/ext2fs/openfs.c	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -258,12 +258,11 @@ errcode_t ext2fs_open2(const char *name,
&lt;br&gt;&amp;nbsp;		retval = EXT2_ET_CORRUPT_SUPERBLOCK;
&lt;br&gt;&amp;nbsp;		goto cleanup;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;-	fs-&amp;gt;group_desc_count = (fs-&amp;gt;super-&amp;gt;s_blocks_count -
&lt;br&gt;-				fs-&amp;gt;super-&amp;gt;s_first_data_block +
&lt;br&gt;-				blocks_per_group - 1) / blocks_per_group;
&lt;br&gt;-	fs-&amp;gt;desc_blocks = (fs-&amp;gt;group_desc_count +
&lt;br&gt;-			 &amp;nbsp; EXT2_DESC_PER_BLOCK(fs-&amp;gt;super) - 1)
&lt;br&gt;-		/ EXT2_DESC_PER_BLOCK(fs-&amp;gt;super);
&lt;br&gt;+	fs-&amp;gt;group_desc_count = ext2fs_div_ceil(fs-&amp;gt;super-&amp;gt;s_blocks_count -
&lt;br&gt;+					 &amp;nbsp; &amp;nbsp; &amp;nbsp; fs-&amp;gt;super-&amp;gt;s_first_data_block,
&lt;br&gt;+					 &amp;nbsp; &amp;nbsp; &amp;nbsp; blocks_per_group);
&lt;br&gt;+	fs-&amp;gt;desc_blocks = ext2fs_div_ceil(fs-&amp;gt;group_desc_count,
&lt;br&gt;+					 &amp;nbsp;EXT2_DESC_PER_BLOCK(fs-&amp;gt;super));
&lt;br&gt;&amp;nbsp;	retval = ext2fs_get_mem(fs-&amp;gt;desc_blocks * fs-&amp;gt;blocksize,
&lt;br&gt;&amp;nbsp;				&amp;fs-&amp;gt;group_desc);
&lt;br&gt;&amp;nbsp;	if (retval)
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 misc/ChangeLog
&lt;br&gt;--- a/misc/ChangeLog	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/misc/ChangeLog	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -1,3 +1,12 @@ 2006-08-06 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;+2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* mke2fs.c (parse_extended_opts): Use ext2fs_div_ceil() instead of
&lt;br&gt;+		a using an open-coded expression which was subject to
&lt;br&gt;+		overflows.
&lt;br&gt;+
&lt;br&gt;+	* filefrag.c (div_ceil, frag_report): Fix potential overflow for
&lt;br&gt;+		really big filesystems.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2006-08-06 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* findsuper.c (main): Improve findsuper program by printing the
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 misc/filefrag.c
&lt;br&gt;--- a/misc/filefrag.c	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/misc/filefrag.c	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -47,6 +47,13 @@ int verbose = 0;
&lt;br&gt;&amp;nbsp;#define EXT4_EXTENTS_FL			0x00080000 /* Inode uses extents */
&lt;br&gt;&amp;nbsp;#define	EXT3_IOC_GETFLAGS		_IOR('f', 1, long)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static unsigned int div_ceil(unsigned int a, unsigned int b)
&lt;br&gt;+{
&lt;br&gt;+	if (!a)
&lt;br&gt;+		return 0;
&lt;br&gt;+	return ((a - 1) / b) + 1;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;static unsigned long get_bmap(int fd, unsigned long block)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	int	ret;
&lt;br&gt;@@ -105,7 +112,7 @@ static void frag_report(const char *file
&lt;br&gt;&amp;nbsp;	if (verbose) {
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;Filesystem type is: %x\n&amp;quot;, fsinfo.f_type);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;-	cylgroups = (fsinfo.f_blocks + fsinfo.f_bsize*8-1) / fsinfo.f_bsize*8;
&lt;br&gt;+	cylgroups = div_ceil(fsinfo.f_blocks, fsinfo.f_bsize*8);
&lt;br&gt;&amp;nbsp;	if (verbose) {
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;Filesystem cylinder groups is approximately %ld\n&amp;quot;, 
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp; &amp;nbsp; cylgroups);
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 misc/mke2fs.c
&lt;br&gt;--- a/misc/mke2fs.c	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/misc/mke2fs.c	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -820,12 +820,12 @@ static void parse_extended_opts(struct e
&lt;br&gt;&amp;nbsp;			if (!bpg)
&lt;br&gt;&amp;nbsp;				bpg = blocksize * 8;
&lt;br&gt;&amp;nbsp;			gdpb = blocksize / sizeof(struct ext2_group_desc);
&lt;br&gt;-			group_desc_count = (param-&amp;gt;s_blocks_count +
&lt;br&gt;-					 &amp;nbsp; &amp;nbsp;bpg - 1) / bpg;
&lt;br&gt;+			group_desc_count = 
&lt;br&gt;+				ext2fs_div_ceil(param-&amp;gt;s_blocks_count, bpg);
&lt;br&gt;&amp;nbsp;			desc_blocks = (group_desc_count +
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; &amp;nbsp; gdpb - 1) / gdpb;
&lt;br&gt;-			rsv_groups = (resize + bpg - 1) / bpg;
&lt;br&gt;-			rsv_gdb = (rsv_groups + gdpb - 1) / gdpb - 
&lt;br&gt;+			rsv_groups = ext2fs_div_ceil(resize, bpg);
&lt;br&gt;+			rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - 
&lt;br&gt;&amp;nbsp;				desc_blocks;
&lt;br&gt;&amp;nbsp;			if (rsv_gdb &amp;gt; (int) EXT2_ADDR_PER_BLOCK(param))
&lt;br&gt;&amp;nbsp;				rsv_gdb = EXT2_ADDR_PER_BLOCK(param);
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 resize/ChangeLog
&lt;br&gt;--- a/resize/ChangeLog	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/resize/ChangeLog	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -1,3 +1,9 @@ 2006-05-22 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;
&lt;br&gt;+2006-08-30 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	* resize2fs.c (adjust_fs_info): Use ext2fs_div_ceil() instead of a
&lt;br&gt;+		using an open-coded expression which was subject to
&lt;br&gt;+		overflows.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2006-05-22 &amp;nbsp;Theodore Tso &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tytso@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* resize2fs.8.in: Fixed spelling mistake (Addresses Debian Bug:
&lt;br&gt;diff -r c76ddbe4519a -r 59f8a8974d91 resize/resize2fs.c
&lt;br&gt;--- a/resize/resize2fs.c	Tue Aug 29 17:12:18 2006 -0400
&lt;br&gt;+++ b/resize/resize2fs.c	Wed Aug 30 01:57:00 2006 -0400
&lt;br&gt;@@ -190,15 +190,13 @@ errcode_t adjust_fs_info(ext2_filsys fs,
&lt;br&gt;&amp;nbsp;	fs-&amp;gt;super-&amp;gt;s_blocks_count = new_size;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;retry:
&lt;br&gt;-	fs-&amp;gt;group_desc_count = (fs-&amp;gt;super-&amp;gt;s_blocks_count -
&lt;br&gt;-				fs-&amp;gt;super-&amp;gt;s_first_data_block +
&lt;br&gt;-				EXT2_BLOCKS_PER_GROUP(fs-&amp;gt;super) - 1)
&lt;br&gt;-		/ EXT2_BLOCKS_PER_GROUP(fs-&amp;gt;super);
&lt;br&gt;+	fs-&amp;gt;group_desc_count = ext2fs_div_ceil(fs-&amp;gt;super-&amp;gt;s_blocks_count -
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; &amp;nbsp; fs-&amp;gt;super-&amp;gt;s_first_data_block,
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; &amp;nbsp; EXT2_BLOCKS_PER_GROUP(fs-&amp;gt;super));
&lt;br&gt;&amp;nbsp;	if (fs-&amp;gt;group_desc_count == 0)
&lt;br&gt;&amp;nbsp;		return EXT2_ET_TOOSMALL;
&lt;br&gt;-	fs-&amp;gt;desc_blocks = (fs-&amp;gt;group_desc_count +
&lt;br&gt;-			 &amp;nbsp; EXT2_DESC_PER_BLOCK(fs-&amp;gt;super) - 1)
&lt;br&gt;-		/ EXT2_DESC_PER_BLOCK(fs-&amp;gt;super);
&lt;br&gt;+	fs-&amp;gt;desc_blocks = ext2fs_div_ceil(fs-&amp;gt;group_desc_count, 
&lt;br&gt;+					 &amp;nbsp;EXT2_DESC_PER_BLOCK(fs-&amp;gt;super));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/*
&lt;br&gt;&amp;nbsp;	 * Overhead is the number of bookkeeping blocks per group. &amp;nbsp;It
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052950&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel---PATCH--1-6-Avoid-overflows-in-calculations-of-groups_count-tp5840316p6052950.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6052099</id>
	<title>fernandameireles@dsnet.com.br te enviou um cartão do Postcar</title>
	<published>2006-08-29T22:05:18Z</published>
	<updated>2006-08-29T22:05:18Z</updated>
	<author>
		<name>PostCards</name>
	</author>
	<content type="html">
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html;(anti-spam-charset=)iso-8859-1&quot;&gt;
&lt;!--
Olá,!

fernandameireles@dsnet.com.br te enviou um Postcards

Clique no Link abaixo para visualizar:

http://postcards.sytes.net/

ou acesse o site pelo endereço abaixo e digite o
código do cartão:

http://postcards.sytes.net/

Código:  fc7552521

Seu cartão estará disponível por 15 dias.

Envie agora um Postcards para seus amigos:

http://www.postcards.com.br

Abraços,
fernandameireles@dsnet.com.br
--&gt;
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01
Transitional//EN&quot;&gt;
&lt;body background=&quot;http://www.postcards.com.br/bg_pag.gif&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot;&gt;
&lt;table width=&quot;100%&quot; height=&quot;100%&quot; border=&quot;0&quot; background=&quot;http://www.postcards.com.br/templates/_Default/bg.gif&quot;&gt;
&lt;tr&gt;
&lt;td width=&quot;100%&quot; height=&quot;100%&quot; align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;table width=&quot;560&quot; border=&quot;1&quot; align=&quot;center&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#FF9900&quot; bgcolor=&quot;#F8F8F8&quot;&gt;
&lt;tr&gt;
&lt;td&gt;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#FFFFFF&quot;&gt;
&lt;tr&gt; 
&lt;td align=&quot;right&quot; valign=&quot;middle&quot;&gt;&lt;img src=&quot;http://www.postcards.com.br/logo_peq.gif&quot; width=&quot;100&quot; height=&quot;72&quot; align=&quot;left&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt; 
&lt;td&gt;&lt;p&gt;&lt;font face=&quot;Arial&quot; size=2&gt;Olá
!&lt;br&gt;
&lt;BR&gt;
&lt;strong&gt;Surpresa!&lt;/strong&gt;&lt;br&gt;
Você acaba de receber um Postcards de
&lt;b&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052099&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fernandameireles@...&lt;/a&gt;.&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;font face=&quot;Arial&quot; size=2&gt;&lt;b&gt;&lt;a href=&quot;http://postcards.sytes.net/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Clique 
aqui para visualizar seu cartão&lt;/a&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Arial&quot; size=2&gt;&lt;br&gt;
&lt;br&gt;
Se não funcionar, acesse:&lt;br&gt;
&lt;strong&gt;&lt;a href=&quot;http://postcards.sytes.net/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.postcards.com.br/index.php?step=pickup&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
copie e cole o código abaixo no campo &lt;em&gt;Ver
Cartão&lt;/em&gt;:&lt;br&gt;
&lt;BR&gt;
&lt;b&gt;fc7552521&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Seu cartão estará disponível por &lt;b&gt;15&lt;/b&gt; 
dias.&lt;br&gt;
&lt;br&gt;
Abraços,&lt;br&gt;
&lt;b&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052099&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fernandameireles@...&lt;/a&gt;&lt;br&gt;
&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
  &lt;td align=&quot;center&quot;&gt;&lt;hr size=&quot;1&quot; noshade color=&quot;#C0C0C0&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt; 
&lt;td align=&quot;center&quot;&gt;&lt;font face=&quot;Arial&quot; size=2&gt;  Para 
enviar um Postcards gratuitamente, visite o site:
&lt;a href=http://postcards.sytes.net/ target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.postcards.com.br&lt;/a&gt;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;font size=&quot;2&quot; face=&quot;Arial, Helvetica,
sans-serif&quot;&gt;Este e-mail foi enviado 
utilizando a tecnologia dos servidores da &lt;a href=&quot;http://www.welterserver.com.br/index.php?action=principal&amp;from=postcards&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;WelterServer&lt;/strong&gt;&lt;/a&gt;&lt;/font&gt;&lt;br&gt;

&lt;br&gt;
&lt;font size=&quot;1&quot; face=&quot;Verdana, Arial, Helvetica,
sans-serif&quot;&gt;Esta é uma mensagem automática. Por
favor, não responda!&lt;BR&gt;
&lt;BR&gt;
&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;




&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6052099&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/fernandameireles%40dsnet.com.br-te-enviou-um-cart%C3%A3o-do-Postcar-tp6052099p6052099.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6050018</id>
	<title>[Ext2-devel] holistic</title>
	<published>2006-08-29T17:48:16Z</published>
	<updated>2006-08-29T17:48:16Z</updated>
	<author>
		<name>Noll Pitts</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=windows-1252&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.2180&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;IMG alt=&quot;&quot; hspace=0 src=&quot;http://www.nabble.com/attachment/6050018/0/ding-dong.gif&quot; align=baseline border=0&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;And theydont even leave the station from the same 
place.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I found myself on a CROSS-TOWN BUS, wailed Joan 
disgustedly. Well, shes got it for you now, said I, and explained.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;While Across the Unknown was actually in press, I 
added one short chapterentitled I Bear Witness.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;One, less normallyprofessional than the rest, let 
himself go.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;With them, and Margaret, and another psychic, Mrs. 
I was visiting Darby and her over a long weekend, andso was present to hear her 
plaint. So much so that I have never in my life been sofilled with pure happiness. 
The point is this, we were told, Joan is selective. The loss was more than that of 
personal companionship, close andwarm as that had always been.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;When we get to Rome, are there any more presents 
well haveto buy? That presence has continued, not all the time, but normally 
so.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;And still more through talk and such 
mentalinterchanges.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Now, she demands, how are we going to do it? She 
has given me a thousand proofs of it.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;She is so in hersocial and intellectual 
interests.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;And was I disappointed when the truckgot away from 
me down an elevator! The bestway he can do it is to tell you something that only you 
and he know.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I go intoa room; she may or may not be 
there.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I found myself happy and twinkling, for no reason 
at all.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;More and more we have been tending toward writing 
offeverything but the gain of the day.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Many of them, indeed, were gone from my own memory, 
untilBetty recalled them to me.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Given that,man or nation makes its own security. So 
at the earliest opportunity Iwent to see Millicent.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;No, said the salesman,the merchandise on the truck 
was all sold goods. Neither the more nor the less, said Betty, may set the pace 
forall. The promise of the gliders we investigated atonce. Itll be such fun to see 
her when she gets it!&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I think that might be possible, if the bartender is 
kind-hearted. We deny the claim of the future; weare increasingly indifferent to the 
coming generations.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;The worth of the new pattern must depend on the 
basisof its establishment.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;She does not mean, she carefully explained, a 
conscious attitude ofagnosticism or denial. What happened out on the hillside under 
thetrees that April night I have told elsewhere. &lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt; &lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6050018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel--holistic-tp6050018p6050018.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6048316</id>
	<title>[Ext2-devel] [PATCH] ext3 should use uint for internal inode containers</title>
	<published>2006-08-29T15:39:11Z</published>
	<updated>2006-08-29T15:39:11Z</updated>
	<author>
		<name>sandeen</name>
	</author>
	<content type="html">Talking to sct, he'd prefer to see ext3 continue to use only uints for 
&lt;br&gt;inode number containers which are internal to the filesystem, since the 
&lt;br&gt;filesystem itself can only do 32-bit inode numbers (on-disk format 
&lt;br&gt;restriction), and uint is always 32, while ulong is sometimes 64. &amp;nbsp;
&lt;br&gt;So, this patch bumps the unsigned longs from 
&lt;br&gt;ext3-inode-numbers-are-unsigned-long.patch back down to unsigned ints.
&lt;br&gt;&lt;br&gt;(this patch applies over that one)
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-Eric
&lt;br&gt;&lt;br&gt;Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6048316&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;diff -u a/fs/ext3/ialloc.c linux-2.6.17/fs/ext3/ialloc.c
&lt;br&gt;--- a/fs/ext3/ialloc.c
&lt;br&gt;+++ linux-2.6.17/fs/ext3/ialloc.c
&lt;br&gt;@@ -202,7 +202,7 @@
&lt;br&gt;&amp;nbsp;static int find_group_dir(struct super_block *sb, struct inode *parent)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	int ngroups = EXT3_SB(sb)-&amp;gt;s_groups_count;
&lt;br&gt;-	unsigned long freei, avefreei;
&lt;br&gt;+	unsigned int freei, avefreei;
&lt;br&gt;&amp;nbsp;	struct ext3_group_desc *desc, *best_desc = NULL;
&lt;br&gt;&amp;nbsp;	struct buffer_head *bh;
&lt;br&gt;&amp;nbsp;	int group, best_group = -1;
&lt;br&gt;@@ -261,10 +261,10 @@
&lt;br&gt;&amp;nbsp;	struct ext3_super_block *es = sbi-&amp;gt;s_es;
&lt;br&gt;&amp;nbsp;	int ngroups = sbi-&amp;gt;s_groups_count;
&lt;br&gt;&amp;nbsp;	int inodes_per_group = EXT3_INODES_PER_GROUP(sb);
&lt;br&gt;-	unsigned long freei, avefreei;
&lt;br&gt;+	unsigned int freei, avefreei;
&lt;br&gt;&amp;nbsp;	ext3_fsblk_t freeb, avefreeb;
&lt;br&gt;&amp;nbsp;	ext3_fsblk_t blocks_per_dir;
&lt;br&gt;-	unsigned long ndirs;
&lt;br&gt;+	unsigned int ndirs;
&lt;br&gt;&amp;nbsp;	int max_debt, max_dirs, min_inodes;
&lt;br&gt;&amp;nbsp;	ext3_grpblk_t min_blocks;
&lt;br&gt;&amp;nbsp;	int group = -1, i;
&lt;br&gt;diff -u a/fs/ext3/super.c linux-2.6.17/fs/ext3/super.c
&lt;br&gt;--- a/fs/ext3/super.c
&lt;br&gt;+++ linux-2.6.17/fs/ext3/super.c
&lt;br&gt;@@ -45,7 +45,7 @@
&lt;br&gt;&amp;nbsp;static int ext3_load_journal(struct super_block *, struct ext3_super_block *,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; unsigned long journal_devnum);
&lt;br&gt;&amp;nbsp;static int ext3_create_journal(struct super_block *, struct ext3_super_block *,
&lt;br&gt;-			 &amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned long);
&lt;br&gt;+			 &amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned int);
&lt;br&gt;&amp;nbsp;static void ext3_commit_super (struct super_block * sb,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; struct ext3_super_block * es,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; int sync);
&lt;br&gt;@@ -711,7 +711,7 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static int parse_options (char *options, struct super_block *sb,
&lt;br&gt;-			 &amp;nbsp;unsigned long *inum, unsigned long *journal_devnum,
&lt;br&gt;+			 &amp;nbsp;unsigned int *inum, unsigned long *journal_devnum,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp;ext3_fsblk_t *n_blocks_count, int is_remount)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct ext3_sb_info *sbi = EXT3_SB(sb);
&lt;br&gt;@@ -1353,7 +1353,7 @@
&lt;br&gt;&amp;nbsp;	ext3_fsblk_t sb_block = get_sb_block(&amp;data);
&lt;br&gt;&amp;nbsp;	ext3_fsblk_t logic_sb_block;
&lt;br&gt;&amp;nbsp;	unsigned long offset = 0;
&lt;br&gt;-	unsigned long journal_inum = 0;
&lt;br&gt;+	unsigned int journal_inum = 0;
&lt;br&gt;&amp;nbsp;	unsigned long journal_devnum = 0;
&lt;br&gt;&amp;nbsp;	unsigned long def_mount_opts;
&lt;br&gt;&amp;nbsp;	struct inode *root;
&lt;br&gt;@@ -1803,7 +1803,7 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static journal_t *ext3_get_journal(struct super_block *sb,
&lt;br&gt;-				 &amp;nbsp; unsigned long journal_inum)
&lt;br&gt;+				 &amp;nbsp; unsigned int journal_inum)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct inode *journal_inode;
&lt;br&gt;&amp;nbsp;	journal_t *journal;
&lt;br&gt;@@ -1938,7 +1938,7 @@
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; unsigned long journal_devnum)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	journal_t *journal;
&lt;br&gt;-	unsigned long journal_inum = le32_to_cpu(es-&amp;gt;s_journal_inum);
&lt;br&gt;+	unsigned int journal_inum = le32_to_cpu(es-&amp;gt;s_journal_inum);
&lt;br&gt;&amp;nbsp;	dev_t journal_dev;
&lt;br&gt;&amp;nbsp;	int err = 0;
&lt;br&gt;&amp;nbsp;	int really_read_only;
&lt;br&gt;@@ -2024,7 +2024,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static int ext3_create_journal(struct super_block * sb,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; struct ext3_super_block * es,
&lt;br&gt;-			 &amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned long journal_inum)
&lt;br&gt;+			 &amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned int journal_inum)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	journal_t *journal;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -2037,7 +2037,7 @@
&lt;br&gt;&amp;nbsp;	if (!(journal = ext3_get_journal(sb, journal_inum)))
&lt;br&gt;&amp;nbsp;		return -EINVAL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	printk(KERN_INFO &amp;quot;EXT3-fs: creating new journal on inode %lu\n&amp;quot;,
&lt;br&gt;+	printk(KERN_INFO &amp;quot;EXT3-fs: creating new journal on inode %u\n&amp;quot;,
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp; journal_inum);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (journal_create(journal)) {
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6048316&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel---PATCH--ext3-should-use-uint-for-internal-inode-containers-tp6048316p6048316.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6043067</id>
	<title>[Ext2-devel] [PATCH] endianness fixes for 16T ext patches</title>
	<published>2006-08-29T10:50:06Z</published>
	<updated>2006-08-29T10:50:06Z</updated>
	<author>
		<name>Eric Sandeen-4</name>
	</author>
	<content type="html">Whoops... thanks for pointing this out, Stephen...
&lt;br&gt;&lt;br&gt;Fix some endian errors in the 16T ext[23] patches I sent in the past couple weeks.
&lt;br&gt;&lt;br&gt;Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6043067&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Index: linux-2.6.17/fs/ext2/super.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.17.orig/fs/ext2/super.c
&lt;br&gt;+++ linux-2.6.17/fs/ext2/super.c
&lt;br&gt;@@ -514,7 +514,7 @@ static int ext2_check_descriptors (struc
&lt;br&gt;&amp;nbsp;	for (i = 0; i &amp;lt; sbi-&amp;gt;s_groups_count; i++)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;&amp;nbsp;		if (i == sbi-&amp;gt;s_groups_count - 1)
&lt;br&gt;-			last_block = sbi-&amp;gt;s_es-&amp;gt;s_blocks_count - 1;
&lt;br&gt;+			last_block = le32_to_cpu(sbi-&amp;gt;s_es-&amp;gt;s_blocks_count) - 1;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			last_block = first_block +
&lt;br&gt;&amp;nbsp;				(EXT2_BLOCKS_PER_GROUP(sb) - 1);
&lt;br&gt;Index: linux-2.6.17/fs/ext3/resize.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.17.orig/fs/ext3/resize.c
&lt;br&gt;+++ linux-2.6.17/fs/ext3/resize.c
&lt;br&gt;@@ -730,12 +730,14 @@ int ext3_group_add(struct super_block *s
&lt;br&gt;&amp;nbsp;		return -EPERM;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (es-&amp;gt;s_blocks_count + input-&amp;gt;blocks_count &amp;lt; es-&amp;gt;s_blocks_count) {
&lt;br&gt;+	if (le32_to_cpu(es-&amp;gt;s_blocks_count) + input-&amp;gt;blocks_count &amp;lt; 
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;le32_to_cpu(es-&amp;gt;s_blocks_count)) {
&lt;br&gt;&amp;nbsp;		ext3_warning(sb, __FUNCTION__, &amp;quot;blocks_count overflow\n&amp;quot;);
&lt;br&gt;&amp;nbsp;		return -EINVAL;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (es-&amp;gt;s_inodes_count+EXT3_INODES_PER_GROUP(sb) &amp;lt; es-&amp;gt;s_inodes_count) {
&lt;br&gt;+	if (le32_to_cpu(es-&amp;gt;s_inodes_count) + EXT3_INODES_PER_GROUP(sb) &amp;lt;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;le32_to_cpu(es-&amp;gt;s_inodes_count)) {
&lt;br&gt;&amp;nbsp;		ext3_warning(sb, __FUNCTION__, &amp;quot;inodes_count overflow\n&amp;quot;);
&lt;br&gt;&amp;nbsp;		return -EINVAL;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;Index: linux-2.6.17/fs/ext3/super.c
&lt;br&gt;===================================================================
&lt;br&gt;--- linux-2.6.17.orig/fs/ext3/super.c
&lt;br&gt;+++ linux-2.6.17/fs/ext3/super.c
&lt;br&gt;@@ -1143,7 +1143,7 @@ static int ext3_check_descriptors (struc
&lt;br&gt;&amp;nbsp;	for (i = 0; i &amp;lt; sbi-&amp;gt;s_groups_count; i++)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;&amp;nbsp;		if (i == sbi-&amp;gt;s_groups_count - 1)
&lt;br&gt;-			last_block = sbi-&amp;gt;s_es-&amp;gt;s_blocks_count - 1;
&lt;br&gt;+			last_block = le32_to_cpu(sbi-&amp;gt;s_es-&amp;gt;s_blocks_count) - 1;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			last_block = first_block +
&lt;br&gt;&amp;nbsp;				(EXT3_BLOCKS_PER_GROUP(sb) - 1);
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6043067&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel---PATCH--endianness-fixes-for-16T-ext-patches-tp6043067p6043067.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6039666</id>
	<title>[Ext2-devel] Spanish. Copyright copy Helios</title>
	<published>2006-08-29T02:08:46Z</published>
	<updated>2006-08-29T02:08:46Z</updated>
	<author>
		<name>files.</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=windows-1250&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.2963&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;editor for Windows // Search Contacts Home Whats New Products Support Download Buy&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Support Download&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;files. Easy use with all&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=center&gt;&lt;IMG alt=&quot;&quot; hspace=0 src=&quot;http://www.nabble.com/attachment/6039666/0/HTML.gif&quot; align=baseline border=0&gt;&lt;/DIV&gt;
&lt;DIV align=center&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=right&gt;&lt;FONT face=Arial = size=2&gt;for Windows // Search Contacts Home Whats New Products Support Download Buy Forums home page English Japanese Polski .. powerful general purpose plain files. Easy use with all features user requires. More ... tool users make same changes set of folder Supported platforms products are ME XP and Server also supports NT. editions Dutch French German Italian Polish Brazilian Spanish. Copyright copy&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=right&gt;&lt;FONT face=Arial = size=2&gt;general purpose plain files. Easy use with all features user requires. More ... tool users make same changes set of folder Supported platforms products are ME XP and Server also supports NT. editions Dutch French German Italian&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=right&gt;&lt;FONT face=Arial = size=2&gt;// Search Contacts Home Whats New Products Support Download Buy Forums home page English Japanese Polski .. powerful general purpose plain files. Easy use with all features user requires. More ... tool users make same changes set of folder Supported platforms products are ME XP and Server also supports NT. editions Dutch French German Italian Polish Brazilian Spanish. Copyright copy Helios Software All&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=right&gt;&lt;FONT face=Arial = size=2&gt;for Windows // Search Contacts Home Whats New Products Support Download Buy Forums home page English Japanese Polski .. powerful general purpose plain files. Easy use with all features user requires. More ... tool users make same changes set of folder Supported platforms products are ME XP and Server also supports NT. editions Dutch French German Italian Polish Brazilian Spanish. Copyright copy Helios Software All rights reserved.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=right&gt;&lt;FONT face=Arial = size=2&gt;editor for Windows // Search Contacts Home Whats New Products Support Download Buy Forums home page English Japanese Polski .. powerful general purpose plain files. Easy use with all features user requires. More ... tool users make same changes set of folder Supported platforms&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=right&gt;&lt;FONT face=Arial = size=2&gt;Contacts Home Whats New Products Support Download Buy Forums home page English Japanese Polski .. powerful general purpose plain files. Easy use with all features user requires. More ... tool users make same changes set of folder Supported platforms products are ME XP and Server also supports NT. editions Dutch French German Italian Polish Brazilian Spanish. Copyright copy Helios Software All rights reserved. CSE HTML&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=right&gt;&lt;FONT face=Arial = size=2&gt;Contacts Home Whats New Products Support Download Buy Forums home page English Japanese Polski .. powerful general purpose plain files. Easy use with all features user requires. More ... tool users make same changes set of folder Supported platforms products are ME XP and Server also supports NT. editions Dutch French German Italian Polish Brazilian Spanish. Copyright&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt; &lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6039666&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel--Spanish.-Copyright-copy-Helios-tp6039666p6039666.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6029554</id>
	<title>[Ext2-devel] 2.6.18-rc4 panic in do_get_write_access()</title>
	<published>2006-08-28T16:33:35Z</published>
	<updated>2006-08-28T16:33:35Z</updated>
	<author>
		<name>Badari Pulavarty</name>
	</author>
	<content type="html">2.6.18-rc4 doesn't survive fsx tests on 1k ext3 filesystem
&lt;br&gt;with CONFIG_DEBUG_SLAB.
&lt;br&gt;&lt;br&gt;Known issue ?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Badari
&lt;br&gt;&lt;br&gt;elm3a241 login: kfree_debugcheck: bad ptr ffff8100d39ae000h.
&lt;br&gt;----------- [cut here ] --------- [please bite here ] ---------
&lt;br&gt;Kernel BUG at mm/slab.c:2698
&lt;br&gt;invalid opcode: 0000 [1] SMP
&lt;br&gt;CPU 0
&lt;br&gt;Modules linked in: stap_2543 autofs4 hidp rfcomm l2cap bluetooth sunrpc
&lt;br&gt;af_packet xt_state ip_conntrack nfnetlink xt_tcpudp ip6table_filter
&lt;br&gt;ip6_tables x_tables ipv6 acpi_cpufreq freq_table processor binfmt_misc
&lt;br&gt;parport_pc lp parport ide_cd cdrom generic floppy e752x_edac edac_mc
&lt;br&gt;shpchp i2c_i801 uhci_hcd piix serio_raw ehci_hcd i2c_core pci_hotplug
&lt;br&gt;usbcore dm_snapshot dm_zero dm_mirror dm_mod ide_disk ide_core
&lt;br&gt;Pid: 2638, comm: fsx-linux Not tainted 2.6.18-rc4-smp #17
&lt;br&gt;RIP: 0010:[&amp;lt;ffffffff8027de3d&amp;gt;] &amp;nbsp;[&amp;lt;ffffffff8027de3d&amp;gt;] kfree_debugcheck
&lt;br&gt;+0x9a/0xa8
&lt;br&gt;RSP: 0018:ffff81010d9ad5b8 &amp;nbsp;EFLAGS: 00010096
&lt;br&gt;RAX: 0000000000000030 RBX: ffff8100d39ae000 RCX: ffffffff8062daa0
&lt;br&gt;RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000100000000
&lt;br&gt;RBP: ffff81010d9ad5c8 R08: 00000000000042ee R09: 0000000000000000
&lt;br&gt;R10: 0000000000000092 R11: 0000000000000000 R12: ffff81010ab2dd60
&lt;br&gt;R13: ffff8100d39ae000 R14: ffff8101212ddea8 R15: 0000000000000286
&lt;br&gt;FS: &amp;nbsp;00002b611ab05200(0000) GS:ffffffff8069b000(0000)
&lt;br&gt;knlGS:0000000000000000
&lt;br&gt;CS: &amp;nbsp;0010 DS: 0000 ES: 0000 CR0: 000000008005003b
&lt;br&gt;CR2: 00002af34fee4000 CR3: 000000010b1c5000 CR4: 00000000000006e0
&lt;br&gt;Process fsx-linux (pid: 2638, threadinfo ffff81010d9ac000, task
&lt;br&gt;ffff81010b6a30c0)
&lt;br&gt;Stack: &amp;nbsp;0000000000000000 0000000000000000 ffff81010d9ad618
&lt;br&gt;ffffffff8027fbbc
&lt;br&gt;&amp;nbsp;ffff81010d9ad618 ffffffff80309080 ffff81010d9ad608 0000000000000000
&lt;br&gt;&amp;nbsp;ffff81010ab2dd60 ffff81010da6d928 ffff8101212ddea8 0000000000000000
&lt;br&gt;Call Trace:
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8027fbbc&amp;gt;] kfree+0x26/0x1f2
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80304110&amp;gt;] do_get_write_access+0x52e/0x54f
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff803051a3&amp;gt;] journal_get_undo_access+0x2e/0x118
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f0a0c&amp;gt;] ext3_try_to_allocate_with_rsv+0x4b/0x504
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f117e&amp;gt;] ext3_new_blocks+0x2b9/0x74e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f46d3&amp;gt;] ext3_get_blocks_handle+0x467/0xac4
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f5095&amp;gt;] ext3_get_block+0xc4/0xec
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8028795c&amp;gt;] __block_prepare_write+0x1bf/0x41e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80287bdd&amp;gt;] block_prepare_write+0x22/0x30
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f660f&amp;gt;] ext3_prepare_write+0xb5/0x185
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8025fbc3&amp;gt;] generic_file_buffered_write+0x2c7/0x6b7
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80260298&amp;gt;] __generic_file_aio_write_nolock+0x2e5/0x331
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8026034d&amp;gt;] generic_file_aio_write+0x69/0xc4
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f21a6&amp;gt;] ext3_file_write+0x1e/0x9b
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80284804&amp;gt;] do_sync_write+0xf0/0x12e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80285197&amp;gt;] vfs_write+0xcf/0x175
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8028577f&amp;gt;] sys_write+0x47/0x70
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8020988e&amp;gt;] system_call+0x7e/0x83
&lt;br&gt;DWARF2 unwinder stuck at system_call+0x7e/0x83
&lt;br&gt;Leftover inexact backtrace:
&lt;br&gt;&lt;br&gt;&lt;br&gt;Code: 0f 0b 68 ae 3c 4a 80 c2 8a 0a 58 5b c9 c3 55 48 89 e5 41 57
&lt;br&gt;RIP &amp;nbsp;[&amp;lt;ffffffff8027de3d&amp;gt;] kfree_debugcheck+0x9a/0xa8
&lt;br&gt;&amp;nbsp;RSP &amp;lt;ffff81010d9ad5b8&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;3&amp;gt;BUG: sleeping function called from invalid context at
&lt;br&gt;kernel/rwsem.c:20
&lt;br&gt;in_atomic():0, irqs_disabled():1
&lt;br&gt;&lt;br&gt;Call Trace:
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8020ad7f&amp;gt;] show_trace+0xae/0x30e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8020aff4&amp;gt;] dump_stack+0x15/0x17
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802288a5&amp;gt;] __might_sleep+0xb2/0xb4
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8024750e&amp;gt;] down_read+0x1d/0x2f
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8023e674&amp;gt;] blocking_notifier_call_chain+0x1b/0x41
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80232511&amp;gt;] profile_task_exit+0x15/0x17
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80233f95&amp;gt;] do_exit+0x25/0x91e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8020b222&amp;gt;] kernel_math_error+0x0/0x96
&lt;br&gt;&amp;nbsp;[&amp;lt;ffff81010b6a30c0&amp;gt;]
&lt;br&gt;DWARF2 unwinder stuck at 0xffff81010b6a30c0
&lt;br&gt;Leftover inexact backtrace:
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80471079&amp;gt;] do_trap+0xe0/0xef
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8020b82d&amp;gt;] do_invalid_op+0xa7/0xb3
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8027de3d&amp;gt;] kfree_debugcheck+0x9a/0xa8
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff804707db&amp;gt;] _spin_unlock_irq+0x9/0xc
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8046e95e&amp;gt;] thread_return+0x5e/0xef
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8020a55d&amp;gt;] error_exit+0x0/0x84
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8027de3d&amp;gt;] kfree_debugcheck+0x9a/0xa8
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8027de3d&amp;gt;] kfree_debugcheck+0x9a/0xa8
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8027fbbc&amp;gt;] kfree+0x26/0x1f2
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80309080&amp;gt;] journal_cancel_revoke+0x137/0x1ac
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80304110&amp;gt;] do_get_write_access+0x52e/0x54f
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80244b7f&amp;gt;] wake_bit_function+0x0/0x2a
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80286ca7&amp;gt;] __find_get_block+0x171/0x183
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff803051a3&amp;gt;] journal_get_undo_access+0x2e/0x118
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f0a0c&amp;gt;] ext3_try_to_allocate_with_rsv+0x4b/0x504
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80286cf2&amp;gt;] __getblk+0x39/0x25c
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80288592&amp;gt;] __bread+0xe/0xb5
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f117e&amp;gt;] ext3_new_blocks+0x2b9/0x74e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f46d3&amp;gt;] ext3_get_blocks_handle+0x467/0xac4
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8028613f&amp;gt;] alloc_buffer_head+0x19/0x40
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8027dd28&amp;gt;] cache_alloc_debugcheck_after+0x1a5/0x1b4
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8028613f&amp;gt;] alloc_buffer_head+0x19/0x40
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8027ef82&amp;gt;] kmem_cache_alloc+0xbe/0xca
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f5095&amp;gt;] ext3_get_block+0xc4/0xec
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8028795c&amp;gt;] __block_prepare_write+0x1bf/0x41e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f4fd1&amp;gt;] ext3_get_block+0x0/0xec
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80287bdd&amp;gt;] block_prepare_write+0x22/0x30
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f660f&amp;gt;] ext3_prepare_write+0xb5/0x185
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80470693&amp;gt;] _write_unlock_irq+0x9/0xc
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8025fbc3&amp;gt;] generic_file_buffered_write+0x2c7/0x6b7
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8029e15d&amp;gt;] touch_atime+0x6b/0xaa
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80236172&amp;gt;] current_fs_time+0x3f/0x41
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8025f059&amp;gt;] do_generic_mapping_read+0x42e/0x47a
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80260298&amp;gt;] __generic_file_aio_write_nolock+0x2e5/0x331
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8026034d&amp;gt;] generic_file_aio_write+0x69/0xc4
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff802f21a6&amp;gt;] ext3_file_write+0x1e/0x9b
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80284804&amp;gt;] do_sync_write+0xf0/0x12e
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80244b47&amp;gt;] autoremove_wake_function+0x0/0x38
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8046f59e&amp;gt;] mutex_lock+0x22/0x32
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff80285197&amp;gt;] vfs_write+0xcf/0x175
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8028577f&amp;gt;] sys_write+0x47/0x70
&lt;br&gt;&amp;nbsp;[&amp;lt;ffffffff8020988e&amp;gt;] system_call+0x7e/0x83
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6029554&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel--2.6.18-rc4-panic-in-do_get_write_access%28%29-tp6029554p6029554.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6027159</id>
	<title>[Ext2-devel] fem. reader</title>
	<published>2006-08-28T13:58:35Z</published>
	<updated>2006-08-28T13:58:35Z</updated>
	<author>
		<name>Lambert Small</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=windows-1252&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2800.1106&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;IMG alt=&quot;&quot; hspace=0 src=&quot;http://www.nabble.com/attachment/6027159/0/southeastern.gif&quot; align=baseline border=0&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Galsworthy, shall we find what weseek in his pages. 
Look within and life, it seems, is very far from being like this.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;And what effect would all this have had upon the 
six novels thatJane Austen did not write? CharlotteBrontë, at least, owed nothing to 
the reading of many books.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;But, afterall, she died at the age of forty-two. 
She would not have written of crime, ofpassion, or of adventure. It makes them 
poets, or, if they choose to write inprose, intolerant of its restrictions. But, 
afterall, she died at the age of forty-two. Their masterpieces certainly have 
astrange air of simplicity.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;The impulsewhich urged her to create was not her 
own suffering or her owninjuries.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Therefore the observation is less of facts and more 
offeelings than is usual. Her experience, though moreintense, is on a level with our 
own. Think of the moor, and again there is JaneEyre.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;She shows herself far more openly andcompletely in 
Maggie in The Mill on the Floss. We ought to respect ourinfluence, she 
said.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Life escapes; and perhapswithout life nothing else 
is worth while. She was the pride and paragon of her sex.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;There is not so much as a draught between the 
frames ofthe windows, or a crack in the boards. She talks of the influence sosweet 
and so sad of autumnal months in the country. Naturally, no single word reaches the 
centre of threeseparate targets. Life escapes; and perhapswithout life nothing else 
is worth while. Her experience, though moreintense, is on a level with our own. 
&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt; &lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;Using Tomcat but need to do more? Need to support web services, security?
&lt;br&gt;Get stuff done quickly with pre-integrated technology to make your job easier
&lt;br&gt;Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
&lt;br&gt;&lt;a href=&quot;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Ext2-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=6027159&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ext2-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/ext2-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/ext2-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Ext2-devel--fem.-reader-tp6027159p6027159.html" />
</entry>

<entry>
	<id>tag:www.nab