Re: [PATCH md 002 of 14] Allow raid1 to check consistency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neil Brown <neilb@xxxxxxx> wrote:
>
> Would you accept:
>  ------------------
>  Signed-off-by: Neil Brown <neilb@xxxxxxx>
> 
>  ### Diffstat output
>   ./mm/swap.c |    2 ++
>   1 file changed, 2 insertions(+)
> 
>  diff ./mm/swap.c~current~ ./mm/swap.c
>  --- ./mm/swap.c~current~	2005-12-06 10:29:16.000000000 +1100
>  +++ ./mm/swap.c	2005-12-06 10:29:25.000000000 +1100
>  @@ -36,6 +36,8 @@ int page_cluster;
>   
>   void put_page(struct page *page)
>   {
>  +	if (unlikely(page==NULL))
>  +		return;
>   	if (unlikely(PageCompound(page))) {
>   		page = (struct page *)page_private(page);
>   		if (put_page_testzero(page)) {
> 

eek.  That's an all-over-the-place-fast-path!

> 
>  Or should I open code this in md ?

Yes please.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux