Now that all direct calls to VN_HOLD/VN_RELE are gone we can implement IHOLD/IRELE directly. For the IHOLD case also replace igrab with a direct increment of i_count because we are guaranteed to alre
Seeing as you are changing from an igrab() to a straight atomic_inc(), can you put an: ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) into the IHOLD macro so we catch screwups in reference counting as
Makes sense, updated patch below. (Half-way through xfsqa with a debug kernel so far) Signed-off-by: Christoph Hellwig <hch@xxxxxx> Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_ksyms.c == -- linux-2.6-x
Christoph Hellwig wrote: On Thu, Jul 24, 2008 at 08:22:20AM +0200, Christoph Hellwig wrote: Makes sense, updated patch below. (Half-way through xfsqa with a debug kernel so far) xfsqa passed fine wit
Now that all direct calls to VN_HOLD/VN_RELE are gone we can implement IHOLD/IRELE directly. For the IHOLD case also replace igrab with a direct increment of i_count because we are guaranteed to alre
Seeing as you are changing from an igrab() to a straight atomic_inc(), can you put an: ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) into the IHOLD macro so we catch screwups in reference counting as
Makes sense, updated patch below. (Half-way through xfsqa with a debug kernel so far) Signed-off-by: Christoph Hellwig <hch@xxxxxx> Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_ksyms.c == -- linux-2.6-x
Christoph Hellwig wrote: On Thu, Jul 24, 2008 at 08:22:20AM +0200, Christoph Hellwig wrote: Makes sense, updated patch below. (Half-way through xfsqa with a debug kernel so far) xfsqa passed fine wit
Now that all direct calls to VN_HOLD/VN_RELE are gone we can implement IHOLD/IRELE directly. For the IHOLD case also replace igrab with a direct increment of i_count because we are guaranteed to alre
Seeing as you are changing from an igrab() to a straight atomic_inc(), can you put an: ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) into the IHOLD macro so we catch screwups in reference counting as
Makes sense, updated patch below. (Half-way through xfsqa with a debug kernel so far) Signed-off-by: Christoph Hellwig <hch@xxxxxx> Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_ksyms.c == -- linux-2.6-x
Christoph Hellwig wrote: On Thu, Jul 24, 2008 at 08:22:20AM +0200, Christoph Hellwig wrote: Makes sense, updated patch below. (Half-way through xfsqa with a debug kernel so far) xfsqa passed fine wit