OSDN Git Service

pnfs/blocklayout: remove some debugging
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Sep 2014 00:36:28 +0000 (17:36 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 12 Sep 2014 17:20:35 +0000 (13:20 -0400)
The kbuild test robot complained that we got the printk format wrong.
Let's just kill these printks instead of fixing them as there is not
point after the initial tree algorithm debugging.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/extent_tree.c

index f34f61d..43e891b 100644 (file)
@@ -370,9 +370,6 @@ ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be,
        struct pnfs_block_extent *new;
        sector_t orig_len = be->be_length;
 
-       dprintk("%s: need split for 0x%lx:0x%lx at 0x%lx\n",
-               __func__, be->be_f_offset, ext_f_end(be), split);
-
        new = kzalloc(sizeof(*new), GFP_ATOMIC);
        if (!new)
                return -ENOMEM;
@@ -387,11 +384,6 @@ ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be,
        new->be_tag = be->be_tag;
        new->be_device = nfs4_get_deviceid(be->be_device);
 
-       dprintk("%s: got 0x%lx:0x%lx!\n",
-               __func__, be->be_f_offset, ext_f_end(be));
-       dprintk("%s: got 0x%lx:0x%lx!\n",
-               __func__, new->be_f_offset, ext_f_end(new));
-
        __ext_tree_insert(root, new, false);
        return 0;
 }