OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
276a47a
)
libata: don't flush dcache on slab pages
author
Sebastian Andrzej Siewior
<sebastian@breakpoint.cc>
Sun, 21 Mar 2010 21:52:23 +0000
(22:52 +0100)
committer
Jeff Garzik
<jgarzik@redhat.com>
Fri, 14 May 2010 21:50:05 +0000
(17:50 -0400)
page_mapping() check this via VM_BUG_ON(PageSlab(page)) so we bug here
with the according debuging turned on.
Future TODO: replace this with a flush_dcache_page_for_pio() API
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: stable@kernel.org
drivers/ata/libata-sff.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libata-sff.c
b/drivers/ata/libata-sff.c
index
b7f7f85
..
c0a9054
100644
(file)
--- a/
drivers/ata/libata-sff.c
+++ b/
drivers/ata/libata-sff.c
@@
-919,7
+919,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;