[nvmewin] Patch Review Request

Luse, Paul E paul.e.luse at intel.com
Fri Mar 2 11:22:35 PST 2012


Alex-

Looks good but I believe our coding style requires {} even with one liners following if/then/else (see excerpt below).  Please make that minor update and then it looks good from the Intel side.

Thx
Paul


For single line if statements:

if (<condition>) {

   <line>;

}


From: nvmewin-bounces at lists.openfabrics.org [mailto:nvmewin-bounces at lists.openfabrics.org] On Behalf Of Chang, Alex
Sent: Friday, March 02, 2012 11:22 AM
To: nvmewin at lists.openfabrics.org
Subject: [nvmewin] Patch Review Request

Hi all,

I am attaching the recent changes in nvmeStd.c, which include two fixes:
1. Fix of system crash when INTx is being used to generate interrupts.
- Root cause:
The attempt to acquire MSI lock in DPC routine.
- Change:
Acquiring DpcLock instead if INTx is being used.

2. Fix of causing NVMe controller not responding when INTx is being used to generate interrupts.
- Root cause:
Programming Doorbell registers with improper Completion Queue Head Pointer values when looping through all completion queues.
- Change:
Resetting InterruptClaimed to FALSE after updating each Completion Queue Head Pointer via the associated Doorbell register.

Please review the changes and feel free to let me know if you have any comments or questions.
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20120302/2347ed3a/attachment.html>


More information about the nvmewin mailing list