All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amy Parker <enbyamy@gmail.com>
To: linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org
Cc: Jan Kara <jack@suse.cz>, Matthew Wilcox <willy@infradead.org>
Subject: [RFC PATCH 2/3] fs: dax.c: move down bit DAX_EMPTY
Date: Sat, 28 Nov 2020 20:36:30 -0800	[thread overview]
Message-ID: <CAE1WUT6GfMH9krfXE2oEGuX9KoLe83SUZZbxQYEFvNF8-wFNhg@mail.gmail.com> (raw)

As DAX_ZERO_PAGE has been removed, DAX_EMPTY can be shifted downwards.

Signed-off-by: Amy Parker <enbyamy@gmail.com>
---
 fs/dax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/dax.c b/fs/dax.c
index fa8ca1a71bbd..c2bdccef3140 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -77,7 +77,7 @@ fs_initcall(init_dax_wait_table);
 #define DAX_SHIFT    (4)
 #define DAX_LOCKED    (1UL << 0)
 #define DAX_PMD        (1UL << 1)
-#define DAX_EMPTY    (1UL << 3)
+#define DAX_EMPTY    (1UL << 2)

 /*
  * A zero entry, XA_ZERO_ENTRY, is used to represent a zero page. This
-- 
2.29.2
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: Amy Parker <enbyamy@gmail.com>
To: linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org
Cc: dan.j.williams@intel.com, Jan Kara <jack@suse.cz>,
	Matthew Wilcox <willy@infradead.org>
Subject: [RFC PATCH 2/3] fs: dax.c: move down bit DAX_EMPTY
Date: Sat, 28 Nov 2020 20:36:30 -0800	[thread overview]
Message-ID: <CAE1WUT6GfMH9krfXE2oEGuX9KoLe83SUZZbxQYEFvNF8-wFNhg@mail.gmail.com> (raw)

As DAX_ZERO_PAGE has been removed, DAX_EMPTY can be shifted downwards.

Signed-off-by: Amy Parker <enbyamy@gmail.com>
---
 fs/dax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/dax.c b/fs/dax.c
index fa8ca1a71bbd..c2bdccef3140 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -77,7 +77,7 @@ fs_initcall(init_dax_wait_table);
 #define DAX_SHIFT    (4)
 #define DAX_LOCKED    (1UL << 0)
 #define DAX_PMD        (1UL << 1)
-#define DAX_EMPTY    (1UL << 3)
+#define DAX_EMPTY    (1UL << 2)

 /*
  * A zero entry, XA_ZERO_ENTRY, is used to represent a zero page. This
-- 
2.29.2

             reply	other threads:[~2020-11-29  4:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29  4:36 Amy Parker [this message]
2020-11-29  4:36 ` [RFC PATCH 2/3] fs: dax.c: move down bit DAX_EMPTY Amy Parker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAE1WUT6GfMH9krfXE2oEGuX9KoLe83SUZZbxQYEFvNF8-wFNhg@mail.gmail.com \
    --to=enbyamy@gmail.com \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-nvdimm@lists.01.org \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.