Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1204671 > unrolled thread

[PATCH 1/2] f2fs: increase the number of max hard links

Started byJaegeuk Kim <jaegeuk@kernel.org>
First post2015-08-11 03:30 +0200
Last post2015-08-15 01:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] f2fs: increase the number of max hard links Jaegeuk Kim <jaegeuk@kernel.org> - 2015-08-11 03:30 +0200
    RE: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard links Chao Yu <chao2.yu@samsung.com> - 2015-08-12 11:50 +0200
      Re: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard  links Jaegeuk Kim <jaegeuk@kernel.org> - 2015-08-15 01:30 +0200

#1204671 — [PATCH 1/2] f2fs: increase the number of max hard links

FromJaegeuk Kim <jaegeuk@kernel.org>
Date2015-08-11 03:30 +0200
Subject[PATCH 1/2] f2fs: increase the number of max hard links
Message-ID<pW6y5-6TZ-5@gated-at.bofh.it>
This patch increases the number of maximum hard links for one file.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
 fs/f2fs/f2fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 3884794..f18d31e 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -321,7 +321,7 @@ enum {
 					 */
 };
 
-#define F2FS_LINK_MAX		32000	/* maximum link count per file */
+#define F2FS_LINK_MAX		65536	/* maximum link count per file */
 
 #define MAX_DIR_RA_PAGES	4	/* maximum ra pages of dir */
 
-- 
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1205868 — RE: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard links

FromChao Yu <chao2.yu@samsung.com>
Date2015-08-12 11:50 +0200
SubjectRE: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard links
Message-ID<pWAPz-Bo-65@gated-at.bofh.it>
In reply to#1204671
> -----Original Message-----
> From: Jaegeuk Kim [mailto:jaegeuk@kernel.org]
> Sent: Tuesday, August 11, 2015 9:23 AM
> To: linux-kernel@vger.kernel.org; linux-fsdevel@vger.kernel.org;
> linux-f2fs-devel@lists.sourceforge.net
> Cc: Jaegeuk Kim
> Subject: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard links
> 
> This patch increases the number of maximum hard links for one file.
> 
> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

Reviewed-by: Chao Yu <chao2.yu@samsung.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1207939 — Re: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard links

FromJaegeuk Kim <jaegeuk@kernel.org>
Date2015-08-15 01:30 +0200
SubjectRe: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard links
Message-ID<pXwA9-8kZ-5@gated-at.bofh.it>
In reply to#1205868
Change log from v1:
 o increase to the maximum since we have 32 bit structure

From 448ffa6a623cae1c3537114b9d10f92d1ddf03f5 Mon Sep 17 00:00:00 2001
From: Jaegeuk Kim <jaegeuk@kernel.org>
Date: Mon, 10 Aug 2015 15:01:12 -0700
Subject: [PATCH] f2fs: increase the number of max hard links

This patch increases the number of maximum hard links for one file.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
 fs/f2fs/f2fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index a55169a..00591f7 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -322,7 +322,7 @@ enum {
 					 */
 };
 
-#define F2FS_LINK_MAX		32000	/* maximum link count per file */
+#define F2FS_LINK_MAX	0xffffffff	/* maximum link count per file */
 
 #define MAX_DIR_RA_PAGES	4	/* maximum ra pages of dir */
 
-- 
2.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web