Commit a5fd9ec7 authored by Stefan Richter's avatar Stefan Richter

firewire: fw-sbp2: reduce log noise

The block/unblock logic is now sufficiently tested.
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 6f73100c
...@@ -693,10 +693,8 @@ static void sbp2_conditionally_block(struct sbp2_logical_unit *lu) ...@@ -693,10 +693,8 @@ static void sbp2_conditionally_block(struct sbp2_logical_unit *lu)
if (!tgt->dont_block && !lu->blocked && if (!tgt->dont_block && !lu->blocked &&
lu->generation != card->generation) { lu->generation != card->generation) {
lu->blocked = true; lu->blocked = true;
if (++tgt->blocked == 1) { if (++tgt->blocked == 1)
scsi_block_requests(shost); scsi_block_requests(shost);
fw_notify("blocked %s\n", lu->tgt->bus_id);
}
} }
spin_unlock_irqrestore(&card->lock, flags); spin_unlock_irqrestore(&card->lock, flags);
} }
...@@ -723,10 +721,8 @@ static void sbp2_conditionally_unblock(struct sbp2_logical_unit *lu) ...@@ -723,10 +721,8 @@ static void sbp2_conditionally_unblock(struct sbp2_logical_unit *lu)
} }
spin_unlock_irqrestore(&card->lock, flags); spin_unlock_irqrestore(&card->lock, flags);
if (unblock) { if (unblock)
scsi_unblock_requests(shost); scsi_unblock_requests(shost);
fw_notify("unblocked %s\n", lu->tgt->bus_id);
}
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment