linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Milosz Tanski <milosz@adfin.com>
To: ceph-devel@vger.kernel.org
Cc: sage@inktank.com, zheng.z.yan@intel.com, dhowells@redhat.com,
	jiayisuse@gmail.com, linux-cachefs@redhat.com,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/8] ceph: fscache support & upstream changes
Date: Thu, 5 Sep 2013 18:20:28 -0400	[thread overview]
Message-ID: <cover.1378418255.git.milosz@adfin.com> (raw)

Hey gang I think this should be final revision of these changes. The changes 
are:

 * David rewrote the cookie validity check (that originally was written by
   Hongyi Jia). You might have seen some emails flying about doing it the
   right way.
 * I added crash fix when for Ceph filesystems mounted with nofsc (default)
   when fscache is compiled into Ceph. Previously it would crash trying to
   enqueue invalidate checks in the work queue because we didn't initialize
   if the mount had fscache disabled.

I've tested both changes on my cluster. You can get get these changes from my
branch in bitbucket. It contains the upstream wip-fscache branch rebased with
David's rewrite of Hongyi Jia's changes.

The branch is located at.

  https://bitbucket.org/adfin/linux-fs.git in the wip-fscahce branch

Finally, David requested that this patchset go through the Ceph tree. The tree
should have all the proper sign off from David. I also CC'ed him so he can give
his final okay.

Best,
 - Milosz

David Howells (2):
  FS-Cache: Add interface to check consistency of a cached object
  CacheFiles: Implement interface to check cache consistency

Milosz Tanski (6):
  fscache: Netfs function for cleanup post readpages
  ceph: use fscache as a local presisent cache
  ceph: clean PgPrivate2 on returning from readpages
  ceph: ceph_readpage_to_fscache didn't check if marked
  ceph: page still marked private_2
  ceph: Do not do invalidate if the filesystem is mounted nofsc

 Documentation/filesystems/caching/backend-api.txt |    9 +
 Documentation/filesystems/caching/netfs-api.txt   |   35 +-
 fs/cachefiles/interface.c                         |   26 ++
 fs/cachefiles/internal.h                          |    1 +
 fs/cachefiles/xattr.c                             |   36 ++
 fs/ceph/Kconfig                                   |    9 +
 fs/ceph/Makefile                                  |    1 +
 fs/ceph/addr.c                                    |   40 ++-
 fs/ceph/cache.c                                   |  400 +++++++++++++++++++++
 fs/ceph/cache.h                                   |  157 ++++++++
 fs/ceph/caps.c                                    |   19 +-
 fs/ceph/file.c                                    |   17 +
 fs/ceph/inode.c                                   |   14 +-
 fs/ceph/super.c                                   |   35 +-
 fs/ceph/super.h                                   |   16 +
 fs/fscache/cookie.c                               |   69 ++++
 fs/fscache/internal.h                             |    6 +
 fs/fscache/page.c                                 |   71 ++--
 include/linux/fscache-cache.h                     |    4 +
 include/linux/fscache.h                           |   42 +++
 20 files changed, 965 insertions(+), 42 deletions(-)
 create mode 100644 fs/ceph/cache.c
 create mode 100644 fs/ceph/cache.h

-- 
1.7.9.5

             reply	other threads:[~2013-09-05 22:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 22:20 Milosz Tanski [this message]
2013-09-05 22:21 ` [PATCH 1/8] FS-Cache: Add interface to check consistency of a cached object David Howells
2013-09-05 22:21 ` [PATCH 2/8] CacheFiles: Implement interface to check cache consistency David Howells
2013-09-05 22:21 ` [PATCH 3/8] fscache: Netfs function for cleanup post readpages Milosz Tanski
2013-09-05 22:22 ` [PATCH 4/8] ceph: use fscache as a local presisent cache Milosz Tanski
2013-09-05 22:22 ` [PATCH 5/8] ceph: clean PgPrivate2 on returning from readpages Milosz Tanski
2013-09-05 22:22 ` [PATCH 6/8] ceph: ceph_readpage_to_fscache didn't check if marked Milosz Tanski
2013-09-05 22:23 ` [PATCH 7/8] ceph: page still marked private_2 Milosz Tanski
2013-09-05 22:23 ` [PATCH 8/8] ceph: Do not do invalidate if the filesystem is mounted nofsc Milosz Tanski
2013-09-05 23:00 ` [PATCH 0/8] ceph: fscache support & upstream changes Sage Weil
2013-09-06  4:41   ` Milosz Tanski
2013-09-06 15:59   ` David Howells
2013-09-06 19:02     ` Milosz Tanski
2013-09-06 20:03       ` Sage Weil
2013-09-08  3:07         ` Milosz Tanski
2013-09-08 21:21           ` Milosz Tanski
2013-09-09 10:18           ` David Howells
2013-09-09 14:53             ` Milosz Tanski
2013-09-09 17:44               ` Sage Weil
2013-09-09 18:28                 ` [PATCH] fscache: check consistency does not decrement refcount Milosz Tanski
2013-09-09 18:54                   ` Milosz Tanski
2013-09-10 12:34                 ` David Howells
2013-09-10 16:45                   ` Milosz Tanski
2013-09-10 16:48                     ` Sage Weil
2013-09-09 10:17         ` [PATCH 0/8] ceph: fscache support & upstream changes David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1378418255.git.milosz@adfin.com \
    --to=milosz@adfin.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=dhowells@redhat.com \
    --cc=jiayisuse@gmail.com \
    --cc=linux-cachefs@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sage@inktank.com \
    --cc=zheng.z.yan@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).