Skip to contentSkip to conversation

Remove unused MDS_CLOSE_CLEANUP define

PATCH New Ben Evans 2 participants 3 messages Jul 6, 2015 Staging

lore
Share & tools
lore

Ben Evans

author
#0 lore raw

PATCH 1/1 Remove unused MDS_CLOSE_CLEANUP define

Previously, MDS_CLOSE_CLEANUP was used to detect file closing, due to eviction. This flag is no longer used.

Intel-bug-ID: http://jira.hpdd.intel.com/browse/LU-3677
Reviewed-on: http://review.whamcloud.com/7195

---
 .../lustre/lustre/include/lustre/lustre_idl.h      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h +1 -1
index 4d72d6e..14547d1 100644
@@ -2390,7 +2390,7 @@ enum mds_op_bias {
 	MDS_PERM_BYPASS		= 1 << 3,
 	MDS_SOM			= 1 << 4,
 	MDS_QUOTA_IGNORE	= 1 << 5,
-	MDS_CLOSE_CLEANUP	= 1 << 6,
+	/* MDS_UNUSED	= 1 << 6, */
 	MDS_KEEP_ORPHAN		= 1 << 7,
 	MDS_RECOV_OPEN		= 1 << 8,
 	MDS_DATA_MODIFIED	= 1 << 9,
Signature · 1 line
1.6.5.6
#1 lore raw

PATCH 1/1 Remove unused MDS_CLOSE_CLEANUP define

For submitting upstream, the component should be listed like:

staging/lustre: remove unused MDS_CLOSE_CLEANUP define

Quoted 38 lines · Ben Evans

Previously, MDS_CLOSE_CLEANUP was used to detect file closing, due to eviction. This flag is no longer used.

Intel-bug-ID: http://jira.hpdd.intel.com/browse/LU-3677
Reviewed-on: http://review.whamcloud.com/7195

---
.../lustre/lustre/include/lustre/lustre_idl.h | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h +1 -1
index 4d72d6e..14547d1 100644
@@ -2390,7 +2390,7 @@ enum mds_op_bias {
 	MDS_PERM_BYPASS		= 1 << 3,
 	MDS_SOM			= 1 << 4,
 	MDS_QUOTA_IGNORE	= 1 << 5,
-	MDS_CLOSE_CLEANUP	= 1 << 6,
+	/* MDS_UNUSED	= 1 << 6, */
 	MDS_KEEP_ORPHAN		= 1 << 7,
 	MDS_RECOV_OPEN		= 1 << 8,
 	MDS_DATA_MODIFIED	= 1 << 9,
Signature · 6 lines
1.6.5.6

_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

Cheers, Andreas

Signature · 4 lines
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division
author
#2 lore raw

PATCH 1/1 Remove unused MDS_CLOSE_CLEANUP define

Got it, thanks for the feedback!

-Ben

-----Original Message-----
From: Dilger, Andreas [mailto:andreas.dilger at intel.com]
Sent: Monday, July 06, 2015 2:13 PM
To: Ben Evans
Cc: lustre-devel at lists.lustre.org
Subject: Re: [lustre-devel] [PATCH] Remove unused MDS_CLOSE_CLEANUP define

For submitting upstream, the component should be listed like:

staging/lustre: remove unused MDS_CLOSE_CLEANUP define

Quoted 33 lines · Ben Evans

Previously, MDS_CLOSE_CLEANUP was used to detect file closing, due to eviction. This flag is no longer used.

Intel-bug-ID: http://jira.hpdd.intel.com/browse/LU-3677
Reviewed-on: http://review.whamcloud.com/7195

---
.../lustre/lustre/include/lustre/lustre_idl.h | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h +1 -2
index 4d72d6e..14547d1 100644
@@ -2390,7 +2390,7 @@ enum mds_op_bias {
 	MDS_PERM_BYPASS		= 1 << 3,
 	MDS_SOM			= 1 << 4,
 	MDS_QUOTA_IGNORE	= 1 << 5,
-	MDS_CLOSE_CLEANUP	= 1 << 6,
+	/* MDS_UNUSED	= 1 << 6, */
 	MDS_KEEP_ORPHAN		= 1 << 7,
 	MDS_RECOV_OPEN		= 1 << 8,
 	MDS_DATA_MODIFIED	= 1 << 9,
--

1.6.5.6

Quoted 5 lines

_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

Cheers, Andreas
--
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division