@@ -1477,7 +1477,6 @@ int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data,
1477
1477
goto send_response ;
1478
1478
} else if (res -> owner != DLM_LOCK_RES_OWNER_UNKNOWN ) {
1479
1479
spin_unlock (& res -> spinlock );
1480
- // mlog(0, "node %u is the master\n", res->owner);
1481
1480
response = DLM_MASTER_RESP_NO ;
1482
1481
if (mle )
1483
1482
kmem_cache_free (dlm_mle_cache , mle );
@@ -1493,7 +1492,6 @@ int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data,
1493
1492
BUG ();
1494
1493
}
1495
1494
1496
- // mlog(0, "lockres is in progress...\n");
1497
1495
spin_lock (& dlm -> master_lock );
1498
1496
found = dlm_find_mle (dlm , & tmpmle , name , namelen );
1499
1497
if (!found ) {
@@ -1503,8 +1501,6 @@ int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data,
1503
1501
set_maybe = 1 ;
1504
1502
spin_lock (& tmpmle -> spinlock );
1505
1503
if (tmpmle -> type == DLM_MLE_BLOCK ) {
1506
- // mlog(0, "this node is waiting for "
1507
- // "lockres to be mastered\n");
1508
1504
response = DLM_MASTER_RESP_NO ;
1509
1505
} else if (tmpmle -> type == DLM_MLE_MIGRATION ) {
1510
1506
mlog (0 , "node %u is master, but trying to migrate to "
@@ -1531,8 +1527,6 @@ int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data,
1531
1527
} else
1532
1528
response = DLM_MASTER_RESP_NO ;
1533
1529
} else {
1534
- // mlog(0, "this node is attempting to "
1535
- // "master lockres\n");
1536
1530
response = DLM_MASTER_RESP_MAYBE ;
1537
1531
}
1538
1532
if (set_maybe )
@@ -1559,7 +1553,6 @@ int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data,
1559
1553
found = dlm_find_mle (dlm , & tmpmle , name , namelen );
1560
1554
if (!found ) {
1561
1555
/* this lockid has never been seen on this node yet */
1562
- // mlog(0, "no mle found\n");
1563
1556
if (!mle ) {
1564
1557
spin_unlock (& dlm -> master_lock );
1565
1558
spin_unlock (& dlm -> spinlock );
@@ -1573,8 +1566,6 @@ int dlm_master_request_handler(struct o2net_msg *msg, u32 len, void *data,
1573
1566
goto way_up_top ;
1574
1567
}
1575
1568
1576
- // mlog(0, "this is second time thru, already allocated, "
1577
- // "add the block.\n");
1578
1569
dlm_init_mle (mle , DLM_MLE_BLOCK , dlm , NULL , name , namelen );
1579
1570
set_bit (request -> node_idx , mle -> maybe_map );
1580
1571
__dlm_insert_mle (dlm , mle );
@@ -1897,8 +1888,6 @@ int dlm_assert_master_handler(struct o2net_msg *msg, u32 len, void *data,
1897
1888
spin_unlock (& res -> spinlock );
1898
1889
}
1899
1890
1900
- // mlog(0, "woo! got an assert_master from node %u!\n",
1901
- // assert->node_idx);
1902
1891
if (mle ) {
1903
1892
int extra_ref = 0 ;
1904
1893
int nn = -1 ;
0 commit comments