aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/blocklayout
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-09-10 20:36:28 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-09-12 13:20:35 -0400
commit3e3f6b4e2613627d4e971c44eec35e945b39e5e5 (patch)
tree586f2a8ce1420cd51bae63c4d0e97717ed75ae4d /fs/nfs/blocklayout
parent8d11620e1e43f829721aa1e76bd9dc2da079df9e (diff)
pnfs/blocklayout: remove some debugging
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>
Diffstat (limited to 'fs/nfs/blocklayout')
-rw-r--r--fs/nfs/blocklayout/extent_tree.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/nfs/blocklayout/extent_tree.c b/fs/nfs/blocklayout/extent_tree.c
index f34f61dd0d0b..43e891b3e0b6 100644
--- a/fs/nfs/blocklayout/extent_tree.c
+++ b/fs/nfs/blocklayout/extent_tree.c
@@ -370,9 +370,6 @@ ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be,
370 struct pnfs_block_extent *new; 370 struct pnfs_block_extent *new;
371 sector_t orig_len = be->be_length; 371 sector_t orig_len = be->be_length;
372 372
373 dprintk("%s: need split for 0x%lx:0x%lx at 0x%lx\n",
374 __func__, be->be_f_offset, ext_f_end(be), split);
375
376 new = kzalloc(sizeof(*new), GFP_ATOMIC); 373 new = kzalloc(sizeof(*new), GFP_ATOMIC);
377 if (!new) 374 if (!new)
378 return -ENOMEM; 375 return -ENOMEM;
@@ -387,11 +384,6 @@ ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be,
387 new->be_tag = be->be_tag; 384 new->be_tag = be->be_tag;
388 new->be_device = nfs4_get_deviceid(be->be_device); 385 new->be_device = nfs4_get_deviceid(be->be_device);
389 386
390 dprintk("%s: got 0x%lx:0x%lx!\n",
391 __func__, be->be_f_offset, ext_f_end(be));
392 dprintk("%s: got 0x%lx:0x%lx!\n",
393 __func__, new->be_f_offset, ext_f_end(new));
394
395 __ext_tree_insert(root, new, false); 387 __ext_tree_insert(root, new, false);
396 return 0; 388 return 0;
397} 389}