Thread (8 messages) 8 messages, 4 authors, 2021-03-04
STALE1934d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 0/3] Fixes for zoned mode

From: Naohiro Aota <naohiro.aota@wdc.com>
Date: 2021-03-04 00:20:17
Also in: linux-fsdevel

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

-- 
2.30.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help