• Milosz Tanski's avatar
    ceph: ceph_readpage_to_fscache didn't check if marked · 9b8dd1e8
    Milosz Tanski authored
    Previously ceph_readpage_to_fscache did not call if page was marked as cached
    before calling fscache_write_page resulting in a BUG inside of fscache.
    
    FS-Cache: Assertion failed
    ------------[ cut here ]------------
    kernel BUG at fs/fscache/page.c:874!
    invalid opcode: 0000 [#1] SMP
    Call Trace:
     [<ffffffffa02e6566>] __ceph_readpage_to_fscache+0x66/0x80 [ceph]
     [<ffffffffa02caf84>] readpage_nounlock+0x124/0x210 [ceph]
     [<ffffffffa02cb08d>] ceph_readpage+0x1d/0x40 [ceph]
     [<ffffffff81126db6>] generic_file_aio_read+0x1f6/0x700
     [<ffffffffa02c6fcc>] ceph_aio_read+0x5fc/0xab0 [ceph]
    Signed-off-by: default avatarMilosz Tanski <milosz@adfin.com>
    Signed-off-by: default avatarSage Weil <sage@inktank.com>
    9b8dd1e8
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...