linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 00/11] Btrfs: Pre subpagesize-blocksize cleanups
@ 2015-08-09 15:09 Chandan Rajendra
  2015-08-09 15:09 ` [PATCH V3 01/11] Btrfs: __btrfs_buffered_write: Reserve/release extents aligned to block size Chandan Rajendra
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Chandan Rajendra @ 2015-08-09 15:09 UTC (permalink / raw)
  To: linux-btrfs
  Cc: Chandan Rajendra, jbacik, clm, bo.li.liu, dsterba, quwenruo,
	chandan

Hello all,

The patches posted along with this cover letter are cleanups made
during the developement of subpagesize-blocksize patchset. I believe
that they can be integrated with the mainline kernel. Hence I have
posted them separately from the subpagesize-blocksize patchset.

I have testsed the patchset by running xfstests on ppc64 and
x86_64. On ppc64, some of the Btrfs specific tests and generic/255
fail because they assume 4K as the filesystem's block size. I have
fixed some of the test cases. I will fix the rest and mail them to the
fstests mailing list in the near future.

Changes from V2:
1. For detecting logical errors, Use ASSERT() calls instead of calls to
   BUG_ON().
2. In the patch "Btrfs: Compute and look up csums based on sectorsized
   blocks", fix usage of kmap_atomic/kunmap_atomic such that between the
   kmap_atomic() and kunmap_atomic() calls we do not invoke any function
   that might cause the current task to sleep.
   
Changes from V1:
1. Call round_[down,up]() functions instead of doing hard coded alignment.

Chandan Rajendra (11):
  Btrfs: __btrfs_buffered_write: Reserve/release extents aligned to
    block size
  Btrfs: Compute and look up csums based on sectorsized blocks
  Btrfs: Direct I/O read: Work on sectorsized blocks
  Btrfs: fallocate: Work with sectorsized blocks
  Btrfs: btrfs_page_mkwrite: Reserve space in sectorsized units
  Btrfs: Search for all ordered extents that could span across a page
  Btrfs: Use (eb->start, seq) as search key for tree modification log
  Btrfs: btrfs_submit_direct_hook: Handle map_length < bio vector length
  Btrfs: Limit inline extents to root->sectorsize
  Btrfs: Fix block size returned to user space
  Btrfs: Clean pte corresponding to page straddling i_size

 fs/btrfs/ctree.c     |  34 ++++----
 fs/btrfs/ctree.h     |   2 +-
 fs/btrfs/extent_io.c |   3 +-
 fs/btrfs/file-item.c |  93 ++++++++++++--------
 fs/btrfs/file.c      | 103 ++++++++++++++--------
 fs/btrfs/inode.c     | 239 ++++++++++++++++++++++++++++++++++++---------------
 6 files changed, 313 insertions(+), 161 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2015-08-10 13:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-09 15:09 [PATCH V3 00/11] Btrfs: Pre subpagesize-blocksize cleanups Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 01/11] Btrfs: __btrfs_buffered_write: Reserve/release extents aligned to block size Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 02/11] Btrfs: Compute and look up csums based on sectorsized blocks Chandan Rajendra
2015-08-10 13:51   ` Josef Bacik
2015-08-09 15:09 ` [PATCH V3 03/11] Btrfs: Direct I/O read: Work " Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 04/11] Btrfs: fallocate: Work with " Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 05/11] Btrfs: btrfs_page_mkwrite: Reserve space in sectorsized units Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 06/11] Btrfs: Search for all ordered extents that could span across a page Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 07/11] Btrfs: Use (eb->start, seq) as search key for tree modification log Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 08/11] Btrfs: btrfs_submit_direct_hook: Handle map_length < bio vector length Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 09/11] Btrfs: Limit inline extents to root->sectorsize Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 10/11] Btrfs: Fix block size returned to user space Chandan Rajendra
2015-08-09 15:09 ` [PATCH V3 11/11] Btrfs: Clean pte corresponding to page straddling i_size Chandan Rajendra

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).