Whamcloud - gitweb
LU-1280 ldiskfs: remove LASSERTF from ext3_ext_new_extent_cb()
authorYu Jian <yujian@whamcloud.com>
Thu, 3 May 2012 11:50:15 +0000 (19:50 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 May 2012 15:15:39 +0000 (11:15 -0400)
The LASSERTF() in ext3_ext_new_extent_cb() was injected for
debugging purpose to make sure the race really happened but
was forgotten to be removed from the original patch in
http://review.whamcloud.com/1618 .

Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I12482e7092320d7b80190c8a84014708bf67c75e
Reviewed-on: http://review.whamcloud.com/2639
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lvfs/fsfilt_ext3.c

index d89bfa4..0b1eeac 100644 (file)
@@ -999,10 +999,6 @@ static int ext3_ext_new_extent_cb(struct ext3_ext_base *base,
 
         i = EXT_DEPTH(base);
         EXT_ASSERT(path[i].p_hdr);
-        LASSERTF(i == path->p_depth ||
-                 EXT_GENERATION(base) != path[0].p_generation,
-                 "base vs path extent depth:%d != %d, generation:%lu == %lu\n",
-                 i, path->p_depth, EXT_GENERATION(base), path[0].p_generation);
 
         if (cex->ec_type == EXT3_EXT_CACHE_EXTENT) {
                 err = EXT_CONTINUE;