<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/hpfs/super.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-04-01T23:59:00Z</updated>
<entry>
<title>hpfs: remember free space</title>
<updated>2014-04-01T23:59:00Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2014-01-28T23:10:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=578d1903dcfd8911534aa602ea8c104c383fadda'/>
<id>urn:sha1:578d1903dcfd8911534aa602ea8c104c383fadda</id>
<content type='text'>
commit 2cbe5c76fc5e38e9af4b709593146e4b8272b69e upstream.

Previously, hpfs scanned all bitmaps each time the user asked for free
space using statfs.  This patch changes it so that hpfs scans the
bitmaps only once, remembes the free space and on next invocation of
statfs it returns the value instantly.

New versions of wine are hammering on the statfs syscall very heavily,
making some games unplayable when they're stored on hpfs, with load
times in minutes.

This should be backported to the stable kernels because it fixes
user-visible problem (excessive level load times in wine).

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
[ kamal: backport to 3.8 (no hpfs_prefetch_bitmap) ]
Signed-off-by: Kamal Mostafa &lt;kamal@canonical.com&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>hpfs: better test for errors</title>
<updated>2013-07-27T04:34:29Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2013-07-04T16:42:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e74ac4ba96efadd107e415e66936a2df813c6652'/>
<id>urn:sha1:e74ac4ba96efadd107e415e66936a2df813c6652</id>
<content type='text'>
commit 3ebacb05044f82c5f0bb456a894eb9dc57d0ed90 upstream.

The test if bitmap access is out of bound could errorneously pass if the
device size is divisible by 16384 sectors and we are asking for one bitmap
after the end.

Check for invalid size in the superblock. Invalid size could cause integer
overflows in the rest of the code.

Signed-off-by: Mikulas Patocka &lt;mpatocka@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>HPFS: Fix endianity. Make hpfs work on big-endian machines</title>
<updated>2011-05-09T16:04:24Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2011-05-08T18:44:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b69760be6968c528869d4aec95ecf64dbf3e8bd'/>
<id>urn:sha1:0b69760be6968c528869d4aec95ecf64dbf3e8bd</id>
<content type='text'>
Fix endianity. Make hpfs work on big-endian machines.

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>HPFS: Fix a bug that filesystem was not marked dirty when remounting it</title>
<updated>2011-05-09T16:04:24Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2011-05-08T18:44:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dab4c82a6e7ee2c60e63737eaa2ec283f9784df6'/>
<id>urn:sha1:dab4c82a6e7ee2c60e63737eaa2ec283f9784df6</id>
<content type='text'>
Fix a bug that filesystem was not marked dirty when remounting it

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>HPFS: When marking or clearing the dirty bit, sync the filesystem</title>
<updated>2011-05-09T16:04:24Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2011-05-08T18:43:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f73976818adeaa46515a238b21e865850b011a87'/>
<id>urn:sha1:f73976818adeaa46515a238b21e865850b011a87</id>
<content type='text'>
When marking or clearing the dirty bit, sync the filesystem

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>HPFS: Remove CR/LF conversion option</title>
<updated>2011-05-09T16:04:23Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2011-05-08T18:43:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0fe105aa29bed0994991462b58ef61646db0e459'/>
<id>urn:sha1:0fe105aa29bed0994991462b58ef61646db0e459</id>
<content type='text'>
Remove CR/LF conversion option

It is unused anyway. It was used on 2.2 kernels or so.

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>HPFS: Remove remaining locks</title>
<updated>2011-05-09T16:04:23Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2011-05-08T18:43:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d23ce36e3f52f9b83ac8da49296b73339c8b5b8'/>
<id>urn:sha1:7d23ce36e3f52f9b83ac8da49296b73339c8b5b8</id>
<content type='text'>
Remove remaining locks

Because of a new global per-fs lock, no other locks are needed

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>HPFS: Introduce a global mutex and lock it on every callback from VFS.</title>
<updated>2011-05-09T16:04:23Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2011-05-08T18:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7dd29d8d865efdb00c0542a5d2c87af8c52ea6c7'/>
<id>urn:sha1:7dd29d8d865efdb00c0542a5d2c87af8c52ea6c7</id>
<content type='text'>
Introduce a global mutex and lock it on every callback from VFS.

Performance doesn't matter, reviewing the whole code for locking correctness
would be too complicated, so simply lock it all.

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>HPFS: Make HPFS compile on preempt and SMP</title>
<updated>2011-05-09T16:04:23Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2011-05-08T18:42:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=637b424bf8747e50bab6648ab919632d6efd6c28'/>
<id>urn:sha1:637b424bf8747e50bab6648ab919632d6efd6c28</id>
<content type='text'>
Make HPFS compile on preempt and SMP

Signed-off-by: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>hpfs: remove the BKL</title>
<updated>2011-03-02T21:27:36Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2011-01-22T19:26:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a311b96c3065f362e3348cb5d7af1a57ca6bff9'/>
<id>urn:sha1:9a311b96c3065f362e3348cb5d7af1a57ca6bff9</id>
<content type='text'>
This removes the BKL in hpfs in a rather awful
way, by making the code only work on uniprocessor
systems without kernel preemption, as suggested
by Andi Kleen.

The HPFS code probably has close to zero remaining
users on current kernels, all archeological uses of
the file system can probably be done with the significant
restrictions.

The hpfs_lock/hpfs_unlock functions are left in the
code, sincen Mikulas has indicated that he is still
interested in fixing it in a better way.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Cc: Mikulas Patocka &lt;mikulas@artax.karlin.mff.cuni.cz&gt;
Cc: linux-fsdevel@vger.kernel.org
</content>
</entry>
</feed>
