Bug#714974: [PATCH] jfs: avoid misuse of cookie value of 2

2013-08-15 Thread Dave Kleikamp
0, 1 and 2 for a rewind, and the . and .. entries. jfs was using 0 and 1 for . and .., but 2 for a regular entry. This patch makes jfs conform by using 1 and 2 for . and .. and fixes any regular entry using the value 2. Signed-off-by: Dave Kleikamp dave.kleik...@oracle.com diff --git a/fs/jfs

Bug#714974: [PATCH] jfs: avoid misuse of cookie value of 2

2013-08-15 Thread Dave Kleikamp
On 08/15/2013 02:09 AM, Christian Kujau wrote: On Wed, 14 Aug 2013 at 21:29, Christian Kujau wrote: On Wed, 14 Aug 2013 at 22:54, Dave Kleikamp wrote: It looks like the problem is that jfs was using a cookie value of 2 for a real directory entry, where NFSv4 expect 2 to represent

Bug#714974: [PATCH] jfs: fix readdir cookie incompatibility with NFSv4

2013-08-15 Thread Dave Kleikamp
entry. This incompatibility can result in the nfs client reporting a readdir loop. This patch doesn't change the value stored internally, but adds one to the value exposed to the iterate method. Signed-off-by: Dave Kleikamp dave.kleik...@oracle.com --- fs/jfs/jfs_dtree.c | 31

Bug#714974: [PATCH] jfs: fix readdir cookie incompatibility with NFSv4

2013-08-15 Thread Dave Kleikamp
On 08/15/2013 04:26 PM, Christian Kujau wrote: On Thu, 15 Aug 2013 at 15:48, Dave Kleikamp wrote: This patch replaces the one I posted yesterday. I like this better since it doesn't require fixing existing on-disk cookies or skipping a position in the in-inode index table. Thanks. Applied

Bug#502383: Acknowledgement (linux-image-2.6.26-1-amd64: BUG at fs/jfs/jfs_metapage.c:742 assert(mp-count))

2008-10-17 Thread Dave Kleikamp
On Thu, 2008-10-16 at 07:24 -0700, Tom Epperly wrote: When I shutdown after reporting the bug, the machine didn't shutdown smoothly. This is common after seeing a BUG() in the kernel. The trapping kernel thread terminates without cleaning up after itself. It may be holding locks that cause

Bug#502383: linux-image-2.6.26-1-amd64: BUG at fs/jfs/jfs_metapage.c:742 assert(mp-count)

2008-10-17 Thread Dave Kleikamp
On Wed, 2008-10-15 at 22:49 -0700, Tom Epperly wrote: I followed up in /var/log/syslog and found: Oct 15 21:09:12 faerun kernel: [11052.080364] BUG at fs/jfs/jfs_metapage.c:742 assert(mp-count) Oct 15 21:09:13 faerun kernel: [11052.080424] [ cut here ] Oct 15