Re: [PATCH] dm: Add support for data integrity to DM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin K. Petersen
Date: Tuesday, September 23, 2008 - 11:41 am

>>>>> "Andrew" == Andrew Morton <akpm@linux-foundation.org> writes:

Sorry about the delayed response.  I'm still on the road after LPC.

Andrew> For better or for worse, the developers of dm.c have chosen to
Andrew> keep the whole file presentable in an 80-col display.  This
Andrew> patch breaks that, and they might not like this.

I've broken the lines.


[Excessive BUG_ONs]

Andrew> This will provide no more information than the oops which will
Andrew> happen two lines later.

Debugging debris.  Gone.



Andrew> This (unused, undocumented) function should be inlined.

 - It's not unused.

 - return md->queue is more descriptive than anything I could possibly
   put in a comment.

 - None of the other accessor functions in DM are inlined.  I'll let
   Alasdair decide.

Updated patches follow.

-- 
Martin K. Petersen      Oracle Linux Engineering
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] dm: Add support for data integrity to DM, Martin K. Petersen, (Sat Sep 20, 5:16 pm)
Re: [PATCH] dm: Add support for data integrity to DM, Andrew Morton, (Sat Sep 20, 9:14 pm)
Re: [PATCH] dm: Add support for data integrity to DM, Martin K. Petersen, (Tue Sep 23, 11:41 am)
[PATCH 1/2] block: Find bio sector offset given idx and offset, Martin K. Petersen, (Tue Sep 23, 11:41 am)
[PATCH 2/2] dm: Add support for data integrity to DM, Martin K. Petersen, (Tue Sep 23, 11:41 am)
Re: [dm-devel] [PATCH 2/2] dm: Add support for data integr ..., Martin K. Petersen, (Mon Sep 29, 8:05 am)