All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Allow fscache to work on BTRFS
@ 2015-04-20  5:27 NeilBrown
  2015-04-20  5:27 ` [PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag NeilBrown
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: NeilBrown @ 2015-04-20  5:27 UTC (permalink / raw)
  To: David Howells, Chris Mason, Al Viro, Josef Bacik, David Sterba
  Cc: linux-cachefs, Dave Chinner, linux-kernel, Christoph Hellwig,
	linux-fsdevel, linux-btrfs

The following three patches allow fs to "cachefiles" in a BTRFS
filesystem.

The first is a minor cleanup to cachefiles.
The second is the main change - it teaches cachefile to use
lseek(SEEK_DATA) to find allocated blocks in a file, rather than bmap.
The third patch simply enables this for btrfs.

Thanks,
NeilBrown


---

NeilBrown (3):
      cachefiles: perform test on s_blocksize when opening cache file.
      fscache/cachefiles: optionally use SEEK_DATA instead of ->bmap.
      btrfs: set FS_SUPPORTS_SEEK_HOLE flag.


 fs/btrfs/super.c      |    3 +
 fs/cachefiles/namei.c |   13 ++++-
 fs/cachefiles/rdwr.c  |  125 ++++++++++++++++++++++++++++++-------------------
 include/linux/fs.h    |    1 
 4 files changed, 88 insertions(+), 54 deletions(-)

--
Signature


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-04-27 13:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20  5:27 [PATCH 0/3] Allow fscache to work on BTRFS NeilBrown
2015-04-20  5:27 ` [PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag NeilBrown
2015-04-20  8:47   ` David Howells
2015-04-20  9:33     ` NeilBrown
2015-04-20  9:46       ` David Howells
2015-04-20  9:48         ` Christoph Hellwig
2015-04-20 12:58           ` Al Viro
2015-04-21  8:43             ` Christoph Hellwig
2015-04-21 10:23               ` Hugh Dickins
2015-04-27  5:41           ` NeilBrown
2015-04-27 13:43             ` Christoph Hellwig
2015-04-20 19:48   ` Chris Mason
2015-04-20  5:27 ` [PATCH 2/3] fscache/cachefiles: optionally use SEEK_DATA instead of ->bmap NeilBrown
2015-04-20  6:08   ` Christoph Hellwig
2015-04-20  6:27     ` NeilBrown
2015-04-20  9:45       ` Christoph Hellwig
2015-04-21 23:06         ` NeilBrown
2015-04-20 11:21   ` David Howells
2015-04-20 15:59     ` [RFC][PATCH] cachefiles: Make better use of SEEK_DATA/SEEK_HOLE David Howells
2015-04-20  5:27 ` [PATCH 1/3] cachefiles: perform test on s_blocksize when opening cache file NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.