mbox series

[v2,0/3] Fixes for zoned mode

Message ID cover.1614760899.git.naohiro.aota@wdc.com (mailing list archive)
Headers show
Series Fixes for zoned mode | expand

Message

Naohiro Aota March 3, 2021, 8:55 a.m. UTC
These are fixes for zoned btrfs.

Patch 01 fixes the type of a zone sector variable.  

Patch 02 moves the superblock location to address based.

Patch 03 fixes zone_unusable acconting when a block group is read-only.

v1 -> v2:
 - Move the type fix patch to be the first one
 - Fix the type of variable instead of casting
 - Introduce #define's for the superblock zone locations and maximum zone
   size

Naohiro Aota (3):
  btrfs: zoned: use sector_t to get zone sectors
  btrfs: zoned: move superblock logging zone location
  btrfs: zoned: do not account freed region of read-only block group as
    zone_unusable

 fs/btrfs/free-space-cache.c |  7 ++++++-
 fs/btrfs/zoned.c            | 39 +++++++++++++++++++++++++++++--------
 2 files changed, 37 insertions(+), 9 deletions(-)

Comments

Johannes Thumshirn March 4, 2021, 1:54 p.m. UTC | #1
On 04/03/2021 02:50, Naohiro Aota wrote:
> These are fixes for zoned btrfs.
> 
> Patch 01 fixes the type of a zone sector variable.  
> 
> Patch 02 moves the superblock location to address based.
> 
> Patch 03 fixes zone_unusable acconting when a block group is read-only.
> 
> v1 -> v2:
>  - Move the type fix patch to be the first one
>  - Fix the type of variable instead of casting
>  - Introduce #define's for the superblock zone locations and maximum zone
>    size
> 
> Naohiro Aota (3):
>   btrfs: zoned: use sector_t to get zone sectors
>   btrfs: zoned: move superblock logging zone location
>   btrfs: zoned: do not account freed region of read-only block group as
>     zone_unusable
> 
>  fs/btrfs/free-space-cache.c |  7 ++++++-
>  fs/btrfs/zoned.c            | 39 +++++++++++++++++++++++++++++--------
>  2 files changed, 37 insertions(+), 9 deletions(-)
> 

For the whole series:
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>