mbox series

[STABLE,5.15,0/5] btrfs: zoned: backport max_extent_size fix

Message ID 20220822060704.1278361-1-naohiro.aota@wdc.com (mailing list archive)
Headers show
Series btrfs: zoned: backport max_extent_size fix | expand

Message

Naohiro Aota Aug. 22, 2022, 6:06 a.m. UTC
These patches are backport for the 5.15 branch.

This series backports fixes for expecting the number of on-going write
extents on zoned mode.

It picks up patches 1 to 3 for the dependencies of patches 4 and 5.

Christoph Hellwig (1):
  block: add a bdev_max_zone_append_sectors helper

Naohiro Aota (4):
  block: add bdev_max_segments() helper
  btrfs: zoned: revive max_zone_append_bytes
  btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_size
  btrfs: convert count_max_extents() to use fs_info->max_extent_size

 drivers/nvme/target/zns.c |  3 +--
 fs/btrfs/ctree.h          | 29 +++++++++++++++++++++--------
 fs/btrfs/delalloc-space.c |  6 +++---
 fs/btrfs/disk-io.c        |  2 ++
 fs/btrfs/extent_io.c      |  4 +++-
 fs/btrfs/inode.c          | 22 ++++++++++++----------
 fs/btrfs/zoned.c          | 20 ++++++++++++++++++++
 fs/btrfs/zoned.h          |  1 +
 fs/zonefs/super.c         |  3 +--
 include/linux/blkdev.h    | 11 +++++++++++
 10 files changed, 75 insertions(+), 26 deletions(-)

Comments

Greg KH Aug. 25, 2022, 12:09 p.m. UTC | #1
On Mon, Aug 22, 2022 at 03:06:59PM +0900, Naohiro Aota wrote:
> These patches are backport for the 5.15 branch.
> 
> This series backports fixes for expecting the number of on-going write
> extents on zoned mode.
> 
> It picks up patches 1 to 3 for the dependencies of patches 4 and 5.
> 
> Christoph Hellwig (1):
>   block: add a bdev_max_zone_append_sectors helper
> 
> Naohiro Aota (4):
>   block: add bdev_max_segments() helper
>   btrfs: zoned: revive max_zone_append_bytes
>   btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_size
>   btrfs: convert count_max_extents() to use fs_info->max_extent_size
> 
>  drivers/nvme/target/zns.c |  3 +--
>  fs/btrfs/ctree.h          | 29 +++++++++++++++++++++--------
>  fs/btrfs/delalloc-space.c |  6 +++---
>  fs/btrfs/disk-io.c        |  2 ++
>  fs/btrfs/extent_io.c      |  4 +++-
>  fs/btrfs/inode.c          | 22 ++++++++++++----------
>  fs/btrfs/zoned.c          | 20 ++++++++++++++++++++
>  fs/btrfs/zoned.h          |  1 +
>  fs/zonefs/super.c         |  3 +--
>  include/linux/blkdev.h    | 11 +++++++++++
>  10 files changed, 75 insertions(+), 26 deletions(-)
> 
> -- 
> 2.37.2
> 

All now queued up, thanks.

greg k-h