WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] blktap: Remove broken debug code.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] blktap: Remove broken debug code.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 01 Aug 2007 09:54:20 -0700
Delivery-date: Wed, 01 Aug 2007 09:52:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1185956626 -3600
# Node ID 1372bc676080a527c98cd4de82637edd319794e7
# Parent  09c88868e3442eaf5108520ecca0df9d5bf606a0
blktap: Remove broken debug code.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 drivers/xen/blktap/blktap.c |   14 --------------
 1 files changed, 14 deletions(-)

diff -r 09c88868e344 -r 1372bc676080 drivers/xen/blktap/blktap.c
--- a/drivers/xen/blktap/blktap.c       Tue Jul 31 15:47:11 2007 +0100
+++ b/drivers/xen/blktap/blktap.c       Wed Aug 01 09:23:46 2007 +0100
@@ -1300,7 +1300,6 @@ static void dispatch_rw_block_io(blkif_t
        unsigned int nseg;
        int ret, i, nr_sects = 0;
        tap_blkif_t *info;
-       uint64_t sector;
        blkif_request_t *target;
        int pending_idx = RTN_PEND_IDX(pending_req,pending_req->mem_idx);
        int usr_idx;
@@ -1356,19 +1355,6 @@ static void dispatch_rw_block_io(blkif_t
 
                uvaddr = MMAP_VADDR(info->user_vstart, usr_idx, i);
                kvaddr = idx_to_kaddr(mmap_idx, pending_idx, i);
-
-               sector = req->sector_number + ((PAGE_SIZE / 512) * i);
-               if( (blkif->sectors > 0) && (sector >= blkif->sectors) ) {
-                       WPRINTK("BLKTAP: Sector request greater" 
-                              "than size\n");
-                       WPRINTK("BLKTAP: %s request sector" 
-                              "[%llu,%llu], Total [%llu]\n",
-                              (req->operation == 
-                               BLKIF_OP_WRITE ? "WRITE" : "READ"),
-                               (long long unsigned) sector,
-                               (long long unsigned) sector>>9,
-                               (long long unsigned) blkif->sectors);
-               }
 
                flags = GNTMAP_host_map;
                if (operation == WRITE)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] blktap: Remove broken debug code., Xen patchbot-linux-2.6.18-xen <=