All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libata: don't flush dcache on slab pages
@ 2010-03-21 21:52 Sebastian Andrzej Siewior
  2010-04-19 19:46 ` Sebastian Andrzej Siewior
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sebastian Andrzej Siewior @ 2010-03-21 21:52 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide

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@breakpoint.cc>
---
 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-14 21:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-21 21:52 [PATCH 1/2] libata: don't flush dcache on slab pages Sebastian Andrzej Siewior
2010-04-19 19:46 ` Sebastian Andrzej Siewior
2010-04-19 19:55   ` David Miller
2010-04-28 20:06 ` Sebastian Andrzej Siewior
2010-04-29  0:16   ` Jeff Garzik
2010-05-14 21:50 ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.