• Linus Torvalds's avatar
    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client · 6cccc7d3
    Linus Torvalds authored
    Pull ceph updates from Sage Weil:
     "This includes both the first pile of Ceph patches (which I sent to
      torvalds@vger, sigh) and a few new patches that add support for
      fscache for Ceph.  That includes a few fscache core fixes that David
      Howells asked go through the Ceph tree.  (Thanks go to Milosz Tanski
      for putting this feature together)
    
      This first batch of patches (included here) had (has) several
      important RBD bug fixes, hole punch support, several different
      cleanups in the page cache interactions, improvements in the truncate
      code (new truncate mutex to avoid shenanigans with i_mutex), and a
      series of fixes in the synchronous striping read/write code.
    
      On top of that is a random collection of small fixes all across the
      tree (error code checks and error path cleanup, obsolete wq flags,
      etc)"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (43 commits)
      ceph: use d_invalidate() to invalidate aliases
      ceph: remove ceph_lookup_inode()
      ceph: trivial buildbot warnings fix
      ceph: Do not do invalidate if the filesystem is mounted nofsc
      ceph: page still marked private_2
      ceph: ceph_readpage_to_fscache didn't check if marked
      ceph: clean PgPrivate2 on returning from readpages
      ceph: use fscache as a local presisent cache
      fscache: Netfs function for cleanup post readpages
      FS-Cache: Fix heading in documentation
      CacheFiles: Implement interface to check cache consistency
      FS-Cache: Add interface to check consistency of a cached object
      rbd: fix null dereference in dout
      rbd: fix buffer size for writes to images with snapshots
      libceph: use pg_num_mask instead of pgp_num_mask for pg.seed calc
      rbd: fix I/O error propagation for reads
      ceph: use vfs __set_page_dirty_nobuffers interface instead of doing it inside filesystem
      ceph: allow sync_read/write return partial successed size of read/write.
      ceph: fix bugs about handling short-read for sync read mode.
      ceph: remove useless variable revoked_rdcache
      ...
    6cccc7d3
rbd.c 135 KB