This patchset fixes issues that sync syscall to existing DAX ex2/4
files does not flush processor cache.
Patch 1/3 adds .bmap to ext4_dax_aops so that mount -o dax works for
the journal inode.
Patch 2/3 fixes the ext4 issue by setting i_flags before ext4_set_aops()
Patch 3/3 fixes the ext2 issue by setting i_flags before ext2_set_aops()
in ext2_iget(), i.e. same as ext4.
- Add .bmap to ext4_dax_aops, instead of disabling dax for the journal
inode. (Jan Kara)
- Initialize i_flags early in ext4_iget(). (Jan Kara)
- Update Fixes tag and add Cc to Stable. (Dan Williams)
- Add fix to ext2.
Toshi Kani (3):
1/3 ext4, dax: add ext4_bmap to ext4_dax_aops
2/3 ext4, dax: set ext4_dax_aops for dax files
3/3 ext2, dax: set ext2_dax_aops for dax files
fs/ext2/inode.c | 2 +-
fs/ext4/inode.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
For : linux-nvdimm(a)lists.01.org
I write to you based on a request by an investor who needs to invest his funds in your country. My name is Gilbert A. Mboweni, an investment Portfolio manager for Sub Saharan African Regions with our management head office situated in England. In our capacity, we represent the interests of very wealthy Investors / consortium mainly from East and North Africa, seeking for individuals & corporate bodies with Financial Management know-hows on portfolio / fund managements and investment strategies, ranging thru several fields and area of specialisation. We tailor solutions specific to our clients' needs , In addition, we set up bespoke investment strategies to our clients and defend their interests. We would often set up mechanism to facilitate international trade and investments, Free movement of cash funds via the traditional orthodox means as I choose to work with the best set of companies and financial institutions.
This reserved group of individuals, whom our firm is personally holding their assets briefs had instructed and approached us with a mandate to seek for a firm or an individual such as yourself who has the experience and capacity to receive their assets for safe keeping and possibly re-invest it into a good and lucrative investment you will recommend.
Due to the sensitivity of their position they hold in their Organisation and the unstable investment environment of their countries, they prefer to channel/move majority of their funds into more stable economies and developing nations where they can get good yield for their money and its safety most especially.
The scope of my obligation is to create and fund investments opportunity , Thus, If you have the required management skills, credible and viable ongoing projects, existing businesses that requires expansions on any level, we would be delighted to assist you on your projects with the necessary finance and resources required. Further details shall be discussed on hearing back from you on the terms of agreement, to this effect, you can reach me directly via for more information drawing a brief introduction of yourself and business operations to enable us revert and act accordingly.
Once we are convinced on your capacity to handle these assets, we will then provide you with all necessary information including the unmentioned amount involved and establish a communication channel between you and the broker responsible for funds disbursement.
For, Allied Investment & consulting Services,
copy_to_iter_mcsafe() is passing in the is_source parameter as "false"
to check_copy_size(). This is different than what copy_to_iter() does.
Also, the addr parameter passed to check_copy_size() is the source so
therefore we should be passing in "true" instead.
Fixes: 8780356ef630 ("x86/asm/memcpy_mcsafe: Define copy_to_iter_mcsafe()")
Reported-by: Fan Du <fan.du(a)intel.com>
Signed-off-by: Dave Jiang <dave.jiang(a)intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma(a)intel.com>
include/linux/uio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/uio.h b/include/linux/uio.h
index 409c845d4cd3..422b1c01ee0d 100644
@@ -172,7 +172,7 @@ size_t copy_from_iter_flushcache(void *addr, size_t bytes, struct iov_iter *i)
static __always_inline __must_check
size_t copy_to_iter_mcsafe(void *addr, size_t bytes, struct iov_iter *i)
- if (unlikely(!check_copy_size(addr, bytes, false)))
+ if (unlikely(!check_copy_size(addr, bytes, true)))
return _copy_to_iter_mcsafe(addr, bytes, i);
Decorate the BuildRequires for systemd with pkgconfig like all the other
Signed-off-by: Dan Williams <dan.j.williams(a)intel.com>
ndctl.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ndctl.spec.in b/ndctl.spec.in
index b782aeae12ad..98394a924030 100644
@@ -20,7 +20,7 @@ BuildRequires: pkgconfig(libudev)
Utility library for managing the "libnvdimm" subsystem. The "libnvdimm"
This patch set is meant to be a v3 to my earlier patch set "Address issues
slowing memory init". However I have added 2 additional patches to
address issues seen in which NVDIMM memory was slow to initialize
especially on systems with multiple NUMA nodes.
Since v2 of the patch set I have replaced the config option to work around
the page init poisoning with a kernel parameter. I also updated one comment
based on input from Michal.
The third patch in this set is new and is meant to address the need to
defer some page initialization to outside of the hot-plug lock. It is
loosely based on the original patch set by Dan Williams to perform
asynchronous page init for ZONE_DEVICE pages. However, it is based
more around the deferred page init model where memory init is deferred to a
fixed point, which in this case is to just outside of the hot-plug lock.
The fourth patch allows nvdimm init to be more node specific where
possible. I basically just copy/pasted the approach used in
pci_call_probe to allow for us to get the initialization code on the node
as close to the memory as possible. Doing so allows us to save considerably
on init time.
Alexander Duyck (4):
mm: Provide kernel parameter to allow disabling page init poisoning
mm: Create non-atomic version of SetPageReserved for init use
mm: Defer ZONE_DEVICE page initialization to the point where we init pgmap
nvdimm: Trigger the device probe on a cpu local to the device
Documentation/admin-guide/kernel-parameters.txt | 8 ++
drivers/nvdimm/bus.c | 45 ++++++++++
include/linux/mm.h | 2
include/linux/page-flags.h | 9 ++
kernel/memremap.c | 24 ++---
mm/debug.c | 16 +++
mm/hmm.c | 12 ++-
mm/memblock.c | 5 -
mm/page_alloc.c | 106 ++++++++++++++++++++++-
mm/sparse.c | 4 -
10 files changed, 200 insertions(+), 31 deletions(-)