From 9233b892f45d02af69d61c0a3434b8d545a1c0da Mon Sep 17 00:00:00 2001 From: barrie Date: Mon, 21 May 2012 18:10:29 -0400 Subject: [PATCH 1/2] integrated some comments from kyle --- source/faq/storage.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/faq/storage.txt b/source/faq/storage.txt index dafbd8e417d..97dadc9b8e5 100644 --- a/source/faq/storage.txt +++ b/source/faq/storage.txt @@ -18,9 +18,8 @@ the :doc:`complete list of FAQs ` or post your question to the What are memory mapped files? ----------------------------- -Memory mapped files are a way of keeping files and data -up to date in memory using the system call ``mmap()``. MongoDB uses -memory mapped files as its storage engine. By using memory mapped + +A memory-mapped file is a file whose data has been mapped to a region of virtual memory via the mmap() system call. Memory-mapped files play a critical role in the MongoDB storage engine. By using memory mapped files MongoDB can treat the content of its data files as if they were in memory. This provides MongoDB with an extremely fast and simple method for accessing and manipulating data. From 724780bf1798a8908366397d4aff157653e9d0ad Mon Sep 17 00:00:00 2001 From: barrie Date: Mon, 21 May 2012 18:16:25 -0400 Subject: [PATCH 2/2] minor: changed formatting --- source/faq/storage.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/faq/storage.txt b/source/faq/storage.txt index 97dadc9b8e5..897b17a12ea 100644 --- a/source/faq/storage.txt +++ b/source/faq/storage.txt @@ -19,10 +19,12 @@ What are memory mapped files? ----------------------------- -A memory-mapped file is a file whose data has been mapped to a region of virtual memory via the mmap() system call. Memory-mapped files play a critical role in the MongoDB storage engine. By using memory mapped -files MongoDB can treat the content of its data files as if they were -in memory. This provides MongoDB with an extremely fast and simple -method for accessing and manipulating data. +A memory-mapped file is a file whose data has been mapped to a region of +virtual memory via the ``mmap()`` system call. Memory-mapped files play a +critical role in the MongoDB storage engine. By using memory mapped files +MongoDB can treat the content of its data files as if they were in memory. +This provides MongoDB with an extremely fast and simple method for accessing +and manipulating data. How do memory mapped files work? --------------------------------