03 Apr, 2014

1 commit


01 Jan, 2014

1 commit


07 Sep, 2013

4 commits

  • The linux-next build bot found a three of warnings, this addresses all of them.

    * non-ANSI function declaration of function 'ceph_fscache_register' and
    'ceph_fscache_unregister'
    * symbol 'ceph_cache_netfs' was not declared, now it's extern in the header.
    * warning: "pr_fmt" redefined

    Signed-off-by: Milosz Tanski

    Milosz Tanski
     
  • Previous patch that allowed us to cleanup most of the issues with pages marked
    as private_2 when calling ceph_readpages. However, there seams to be a case in
    the error case clean up in start read that still trigers this from time to
    time. I've only seen this one a couple times.

    BUG: Bad page state in process petabucket pfn:335b82
    page:ffffea000cd6e080 count:0 mapcount:0 mapping: (null) index:0x0
    page flags: 0x200000000001000(private_2)
    Call Trace:
    [] dump_stack+0x46/0x58
    [] bad_page+0xc7/0x120
    [] free_pages_prepare+0x10e/0x120
    [] free_hot_cold_page+0x40/0x160
    [] __put_single_page+0x27/0x30
    [] put_page+0x25/0x40
    [] ceph_readpages+0x2e9/0x6f0 [ceph]
    [] __do_page_cache_readahead+0x1af/0x260

    Signed-off-by: Milosz Tanski
    Signed-off-by: Sage Weil

    Milosz Tanski
     
  • In some cases the ceph readapages code code bails without filling all the pages
    already marked by fscache. When we return back to readahead code this causes
    a BUG.

    Signed-off-by: Milosz Tanski

    Milosz Tanski
     
  • Adding support for fscache to the Ceph filesystem. This would bring it to on
    par with some of the other network filesystems in Linux (like NFS, AFS, etc...)

    In order to mount the filesystem with fscache the 'fsc' mount option must be
    passed.

    Signed-off-by: Milosz Tanski
    Signed-off-by: Sage Weil

    Milosz Tanski