Re: [PATCH 1/2] libata: don't flush dcache on slab pages

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

 



* Sebastian Andrzej Siewior | 2010-03-21 22:52:22 [+0100]:

>page_mapping() check this via VM_BUG_ON(PageSlab(page)) so we bug here
>with the according debuging turned on.
>
>Signed-off-by: Sebastian Andrzej Siewior <sebastian@xxxxxxxxxxxxx>

Jeff, a month passed since I posted this patch. Any reason why you
ignore it?

> drivers/ata/libata-sff.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
>index 561dec2..83ecf48 100644
>--- a/drivers/ata/libata-sff.c
>+++ b/drivers/ata/libata-sff.c
>@@ -893,7 +893,7 @@ static void ata_pio_sector(struct ata_queued_cmd *qc)
> 				       do_write);
> 	}
> 
>-	if (!do_write)
>+	if (!do_write && !PageSlab(page))
> 		flush_dcache_page(page);
> 
> 	qc->curbytes += qc->sect_size;
>-- 
>1.6.6

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux