* + dax-dirty-inode-only-if-required.patch added to -mm tree
@ 2016-02-04 19:06 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-02-04 19:06 UTC (permalink / raw)
To: dmonakhov, jack, matthew.r.wilcox, ross.zwisler, mm-commits
The patch titled
Subject: dax: dirty inode only if required
has been added to the -mm tree. Its filename is
dax-dirty-inode-only-if-required.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/dax-dirty-inode-only-if-required.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/dax-dirty-inode-only-if-required.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Dmitry Monakhov <dmonakhov@openvz.org>
Subject: dax: dirty inode only if required
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/dax.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -puN fs/dax.c~dax-dirty-inode-only-if-required fs/dax.c
--- a/fs/dax.c~dax-dirty-inode-only-if-required
+++ a/fs/dax.c
@@ -358,7 +358,8 @@ static int dax_radix_entry(struct addres
void *entry;
WARN_ON_ONCE(pmd_entry && !dirty);
- __mark_inode_dirty(mapping->host, I_DIRTY_PAGES);
+ if (dirty)
+ __mark_inode_dirty(mapping->host, I_DIRTY_PAGES);
spin_lock_irq(&mapping->tree_lock);
_
Patches currently in -mm which might be from dmonakhov@openvz.org are
dax-dirty-inode-only-if-required.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-04 19:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04 19:06 + dax-dirty-inode-only-if-required.patch added to -mm tree akpm
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.