All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs: fix comment about sector sizes supported in 64K systems
@ 2021-10-21 23:53 Anand Jain
  2021-10-22 10:31 ` Josef Bacik
  2021-10-22 14:15 ` David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: Anand Jain @ 2021-10-21 23:53 UTC (permalink / raw)
  To: linux-btrfs; +Cc: wqu

Commit 95ea0486b20e ("btrfs: allow read-write for 4K sectorsize on 64K
page size systems") added write support for 4K sectorsize on a 64K
systems. Fix the now stale comments.

No functional change.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 fs/btrfs/disk-io.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 0e44f89b8664..2697b8ede289 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2592,8 +2592,7 @@ static int validate_super(struct btrfs_fs_info *fs_info,
 
 	/*
 	 * For 4K page size, we only support 4K sector size.
-	 * For 64K page size, we support read-write for 64K sector size, and
-	 * read-only for 4K sector size.
+	 * For 64K page size, we support 64K and 4K sector sizes.
 	 */
 	if ((PAGE_SIZE == SZ_4K && sectorsize != PAGE_SIZE) ||
 	    (PAGE_SIZE == SZ_64K && (sectorsize != SZ_4K &&
-- 
2.31.1


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

* Re: [PATCH] btrfs: fix comment about sector sizes supported in 64K systems
  2021-10-21 23:53 [PATCH] btrfs: fix comment about sector sizes supported in 64K systems Anand Jain
@ 2021-10-22 10:31 ` Josef Bacik
  2021-10-22 14:15 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: Josef Bacik @ 2021-10-22 10:31 UTC (permalink / raw)
  To: Anand Jain; +Cc: linux-btrfs, wqu

On Fri, Oct 22, 2021 at 07:53:05AM +0800, Anand Jain wrote:
> Commit 95ea0486b20e ("btrfs: allow read-write for 4K sectorsize on 64K
> page size systems") added write support for 4K sectorsize on a 64K
> systems. Fix the now stale comments.
> 
> No functional change.
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef

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

* Re: [PATCH] btrfs: fix comment about sector sizes supported in 64K systems
  2021-10-21 23:53 [PATCH] btrfs: fix comment about sector sizes supported in 64K systems Anand Jain
  2021-10-22 10:31 ` Josef Bacik
@ 2021-10-22 14:15 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2021-10-22 14:15 UTC (permalink / raw)
  To: Anand Jain; +Cc: linux-btrfs, wqu

On Fri, Oct 22, 2021 at 07:53:05AM +0800, Anand Jain wrote:
> Commit 95ea0486b20e ("btrfs: allow read-write for 4K sectorsize on 64K
> page size systems") added write support for 4K sectorsize on a 64K
> systems. Fix the now stale comments.
> 
> No functional change.
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>

Added to misc-next, thanks.

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

end of thread, other threads:[~2021-10-22 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21 23:53 [PATCH] btrfs: fix comment about sector sizes supported in 64K systems Anand Jain
2021-10-22 10:31 ` Josef Bacik
2021-10-22 14:15 ` David Sterba

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.