All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] msync: fix incorrect fstart calculation
@ 2014-06-27 11:38 Namjae Jeon
  2014-06-27 11:51   ` Lukáš Czerner
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Namjae Jeon @ 2014-06-27 11:38 UTC (permalink / raw)
  To: 'Andrew Morton'
  Cc: linux-mm, linux-ext4, Lukáš Czerner,
	'Matthew Wilcox', 'Eric Whitney',
	Ashish Sangwan

Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
the requested range in msync().
xfstests generic/075 fail occured on ext4 data=journal mode because
the intended range was not syncing due to wrong fstart calculation.

Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
Cc: Lukáš Czerner <lczerner@redhat.com>
Reported-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
---
 mm/msync.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mm/msync.c b/mm/msync.c
index a5c6736..ad97dce 100644
--- a/mm/msync.c
+++ b/mm/msync.c
@@ -78,7 +78,8 @@ SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
 			goto out_unlock;
 		}
 		file = vma->vm_file;
-		fstart = start + ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
+		fstart = (start - vma->vm_start) +
+			 ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
 		fend = fstart + (min(end, vma->vm_end) - start) - 1;
 		start = vma->vm_end;
 		if ((flags & MS_SYNC) && file &&
-- 
1.7.11-rc0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
  2014-06-27 11:38 [PATCH] msync: fix incorrect fstart calculation Namjae Jeon
@ 2014-06-27 11:51   ` Lukáš Czerner
  2014-06-27 12:43 ` Wilcox, Matthew R
  2014-06-28 19:14   ` Theodore Ts'o
  2 siblings, 0 replies; 10+ messages in thread
From: Lukáš Czerner @ 2014-06-27 11:51 UTC (permalink / raw)
  To: Namjae Jeon
  Cc: 'Andrew Morton',
	linux-mm, linux-ext4, 'Matthew Wilcox',
	'Eric Whitney',
	Ashish Sangwan

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1808 bytes --]

On Fri, 27 Jun 2014, Namjae Jeon wrote:

> Date: Fri, 27 Jun 2014 20:38:49 +0900
> From: Namjae Jeon <namjae.jeon@samsung.com>
> To: 'Andrew Morton' <akpm@linux-foundation.org>
> Cc: linux-mm@kvack.org, linux-ext4 <linux-ext4@vger.kernel.org>,
>     Lukáš Czerner <lczerner@redhat.com>,
>     'Matthew Wilcox' <matthew.r.wilcox@intel.com>,
>     'Eric Whitney' <enwlinux@gmail.com>,
>     Ashish Sangwan <a.sangwan@samsung.com>
> Subject: [PATCH] msync: fix incorrect fstart calculation
> 
> Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> the requested range in msync().
> xfstests generic/075 fail occured on ext4 data=journal mode because
> the intended range was not syncing due to wrong fstart calculation.

Looks good to me and it fixes the issues with data=journal on ext4.

Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Tested-by: Lukas Czerner <lczerner@redhat.com>

> 
> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> Cc: Lukáš Czerner <lczerner@redhat.com>
> Reported-by: Eric Whitney <enwlinux@gmail.com>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
> ---
>  mm/msync.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/mm/msync.c b/mm/msync.c
> index a5c6736..ad97dce 100644
> --- a/mm/msync.c
> +++ b/mm/msync.c
> @@ -78,7 +78,8 @@ SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
>  			goto out_unlock;
>  		}
>  		file = vma->vm_file;
> -		fstart = start + ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
> +		fstart = (start - vma->vm_start) +
> +			 ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
>  		fend = fstart + (min(end, vma->vm_end) - start) - 1;
>  		start = vma->vm_end;
>  		if ((flags & MS_SYNC) && file &&
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
@ 2014-06-27 11:51   ` Lukáš Czerner
  0 siblings, 0 replies; 10+ messages in thread
From: Lukáš Czerner @ 2014-06-27 11:51 UTC (permalink / raw)
  To: Namjae Jeon
  Cc: 'Andrew Morton',
	linux-mm, linux-ext4, 'Matthew Wilcox',
	'Eric Whitney',
	Ashish Sangwan

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1762 bytes --]

On Fri, 27 Jun 2014, Namjae Jeon wrote:

> Date: Fri, 27 Jun 2014 20:38:49 +0900
> From: Namjae Jeon <namjae.jeon@samsung.com>
> To: 'Andrew Morton' <akpm@linux-foundation.org>
> Cc: linux-mm@kvack.org, linux-ext4 <linux-ext4@vger.kernel.org>,
>     Luka1 Czerner <lczerner@redhat.com>,
>     'Matthew Wilcox' <matthew.r.wilcox@intel.com>,
>     'Eric Whitney' <enwlinux@gmail.com>,
>     Ashish Sangwan <a.sangwan@samsung.com>
> Subject: [PATCH] msync: fix incorrect fstart calculation
> 
> Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> the requested range in msync().
> xfstests generic/075 fail occured on ext4 data=journal mode because
> the intended range was not syncing due to wrong fstart calculation.

Looks good to me and it fixes the issues with data=journal on ext4.

Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Tested-by: Lukas Czerner <lczerner@redhat.com>

> 
> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> Cc: Luka1 Czerner <lczerner@redhat.com>
> Reported-by: Eric Whitney <enwlinux@gmail.com>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
> ---
>  mm/msync.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/mm/msync.c b/mm/msync.c
> index a5c6736..ad97dce 100644
> --- a/mm/msync.c
> +++ b/mm/msync.c
> @@ -78,7 +78,8 @@ SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
>  			goto out_unlock;
>  		}
>  		file = vma->vm_file;
> -		fstart = start + ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
> +		fstart = (start - vma->vm_start) +
> +			 ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
>  		fend = fstart + (min(end, vma->vm_end) - start) - 1;
>  		start = vma->vm_end;
>  		if ((flags & MS_SYNC) && file &&
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [PATCH] msync: fix incorrect fstart calculation
  2014-06-27 11:38 [PATCH] msync: fix incorrect fstart calculation Namjae Jeon
  2014-06-27 11:51   ` Lukáš Czerner
@ 2014-06-27 12:43 ` Wilcox, Matthew R
  2014-06-27 16:12     ` Eric Whitney
  2014-06-28 19:14   ` Theodore Ts'o
  2 siblings, 1 reply; 10+ messages in thread
From: Wilcox, Matthew R @ 2014-06-27 12:43 UTC (permalink / raw)
  To: Namjae Jeon, 'Andrew Morton'
  Cc: linux-mm, linux-ext4, Lukáš Czerner,
	'Eric Whitney',
	Ashish Sangwan

Acked-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
________________________________________
From: Namjae Jeon [namjae.jeon@samsung.com]
Sent: June 27, 2014 4:38 AM
To: 'Andrew Morton'
Cc: linux-mm@kvack.org; linux-ext4; Lukáš Czerner; Wilcox, Matthew R; 'Eric Whitney'; Ashish Sangwan
Subject: [PATCH] msync: fix incorrect fstart calculation

Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
the requested range in msync().
xfstests generic/075 fail occured on ext4 data=journal mode because
the intended range was not syncing due to wrong fstart calculation.

Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
Cc: Lukáš Czerner <lczerner@redhat.com>
Reported-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
---
 mm/msync.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mm/msync.c b/mm/msync.c
index a5c6736..ad97dce 100644
--- a/mm/msync.c
+++ b/mm/msync.c
@@ -78,7 +78,8 @@ SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
                        goto out_unlock;
                }
                file = vma->vm_file;
-               fstart = start + ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
+               fstart = (start - vma->vm_start) +
+                        ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
                fend = fstart + (min(end, vma->vm_end) - start) - 1;
                start = vma->vm_end;
                if ((flags & MS_SYNC) && file &&
--
1.7.11-rc0


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
  2014-06-27 12:43 ` Wilcox, Matthew R
@ 2014-06-27 16:12     ` Eric Whitney
  0 siblings, 0 replies; 10+ messages in thread
From: Eric Whitney @ 2014-06-27 16:12 UTC (permalink / raw)
  To: Wilcox, Matthew R
  Cc: Namjae Jeon, 'Andrew Morton',
	linux-mm, linux-ext4, Lukáš Czerner,
	'Eric Whitney',
	Ashish Sangwan

I can confirm that this patch corrects the ext4 regressions I reported on
3.16-rc1 for data_journal.

Additionally, it corrects regressions for two other tests I have not yet
reported.  Those tests include generic/263 when running with the
data=journal mount option, and generic/219 (a quota test that doesn't use
fsx) when running with all xfstests-bld scenarios (4k, ext4, nojournal, 1k,
etc.) with the exception of bigalloc.  The generic/219 failure on bigalloc in
3.16-rc1 is not a regression, and was present in earlier releases.

With this patch, ext4 3.16-rc3 regression results on x64_64 should look much
more like 3.15 final.

Thanks guys!
Eric


* Wilcox, Matthew R <matthew.r.wilcox@intel.com>:
> Acked-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
> ________________________________________
> From: Namjae Jeon [namjae.jeon@samsung.com]
> Sent: June 27, 2014 4:38 AM
> To: 'Andrew Morton'
> Cc: linux-mm@kvack.org; linux-ext4; Lukáš Czerner; Wilcox, Matthew R; 'Eric Whitney'; Ashish Sangwan
> Subject: [PATCH] msync: fix incorrect fstart calculation
> 
> Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> the requested range in msync().
> xfstests generic/075 fail occured on ext4 data=journal mode because
> the intended range was not syncing due to wrong fstart calculation.
> 
> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> Cc: Lukáš Czerner <lczerner@redhat.com>
> Reported-by: Eric Whitney <enwlinux@gmail.com>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
> ---
>  mm/msync.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/mm/msync.c b/mm/msync.c
> index a5c6736..ad97dce 100644
> --- a/mm/msync.c
> +++ b/mm/msync.c
> @@ -78,7 +78,8 @@ SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
>                         goto out_unlock;
>                 }
>                 file = vma->vm_file;
> -               fstart = start + ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
> +               fstart = (start - vma->vm_start) +
> +                        ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
>                 fend = fstart + (min(end, vma->vm_end) - start) - 1;
>                 start = vma->vm_end;
>                 if ((flags & MS_SYNC) && file &&
> --
> 1.7.11-rc0
> 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
@ 2014-06-27 16:12     ` Eric Whitney
  0 siblings, 0 replies; 10+ messages in thread
From: Eric Whitney @ 2014-06-27 16:12 UTC (permalink / raw)
  To: Wilcox, Matthew R
  Cc: Namjae Jeon, 'Andrew Morton',
	linux-mm, linux-ext4, Lukáš Czerner,
	'Eric Whitney',
	Ashish Sangwan

I can confirm that this patch corrects the ext4 regressions I reported on
3.16-rc1 for data_journal.

Additionally, it corrects regressions for two other tests I have not yet
reported.  Those tests include generic/263 when running with the
data=journal mount option, and generic/219 (a quota test that doesn't use
fsx) when running with all xfstests-bld scenarios (4k, ext4, nojournal, 1k,
etc.) with the exception of bigalloc.  The generic/219 failure on bigalloc in
3.16-rc1 is not a regression, and was present in earlier releases.

With this patch, ext4 3.16-rc3 regression results on x64_64 should look much
more like 3.15 final.

Thanks guys!
Eric


* Wilcox, Matthew R <matthew.r.wilcox@intel.com>:
> Acked-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
> ________________________________________
> From: Namjae Jeon [namjae.jeon@samsung.com]
> Sent: June 27, 2014 4:38 AM
> To: 'Andrew Morton'
> Cc: linux-mm@kvack.org; linux-ext4; LukA!A! Czerner; Wilcox, Matthew R; 'Eric Whitney'; Ashish Sangwan
> Subject: [PATCH] msync: fix incorrect fstart calculation
> 
> Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> the requested range in msync().
> xfstests generic/075 fail occured on ext4 data=journal mode because
> the intended range was not syncing due to wrong fstart calculation.
> 
> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> Cc: LukA!A! Czerner <lczerner@redhat.com>
> Reported-by: Eric Whitney <enwlinux@gmail.com>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
> ---
>  mm/msync.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/mm/msync.c b/mm/msync.c
> index a5c6736..ad97dce 100644
> --- a/mm/msync.c
> +++ b/mm/msync.c
> @@ -78,7 +78,8 @@ SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
>                         goto out_unlock;
>                 }
>                 file = vma->vm_file;
> -               fstart = start + ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
> +               fstart = (start - vma->vm_start) +
> +                        ((loff_t)vma->vm_pgoff << PAGE_SHIFT);
>                 fend = fstart + (min(end, vma->vm_end) - start) - 1;
>                 start = vma->vm_end;
>                 if ((flags & MS_SYNC) && file &&
> --
> 1.7.11-rc0
> 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
  2014-06-27 11:38 [PATCH] msync: fix incorrect fstart calculation Namjae Jeon
@ 2014-06-28 19:14   ` Theodore Ts'o
  2014-06-27 12:43 ` Wilcox, Matthew R
  2014-06-28 19:14   ` Theodore Ts'o
  2 siblings, 0 replies; 10+ messages in thread
From: Theodore Ts'o @ 2014-06-28 19:14 UTC (permalink / raw)
  To: Namjae Jeon
  Cc: 'Andrew Morton',
	linux-mm, linux-ext4, Lukáš Czerner,
	'Matthew Wilcox', 'Eric Whitney',
	Ashish Sangwan

On Fri, Jun 27, 2014 at 08:38:49PM +0900, Namjae Jeon wrote:
> Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> the requested range in msync().
> xfstests generic/075 fail occured on ext4 data=journal mode because
> the intended range was not syncing due to wrong fstart calculation.
> 
> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> Cc: Lukáš Czerner <lczerner@redhat.com>
> Reported-by: Eric Whitney <enwlinux@gmail.com>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>

Reviewed-by: Theodore Ts'o <tytso@mit.edu>

Andrew, do you want to take this in the mm tree, or shall I take it in
the ext4 tree?  I would prefer if we could get this pushed to Linus as
soon as possible, since it fixes a regression.

					- Ted

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
@ 2014-06-28 19:14   ` Theodore Ts'o
  0 siblings, 0 replies; 10+ messages in thread
From: Theodore Ts'o @ 2014-06-28 19:14 UTC (permalink / raw)
  To: Namjae Jeon
  Cc: 'Andrew Morton',
	linux-mm, linux-ext4, Lukáš Czerner,
	'Matthew Wilcox', 'Eric Whitney',
	Ashish Sangwan

On Fri, Jun 27, 2014 at 08:38:49PM +0900, Namjae Jeon wrote:
> Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> the requested range in msync().
> xfstests generic/075 fail occured on ext4 data=journal mode because
> the intended range was not syncing due to wrong fstart calculation.
> 
> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> Cc: LukA!A! Czerner <lczerner@redhat.com>
> Reported-by: Eric Whitney <enwlinux@gmail.com>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>

Reviewed-by: Theodore Ts'o <tytso@mit.edu>

Andrew, do you want to take this in the mm tree, or shall I take it in
the ext4 tree?  I would prefer if we could get this pushed to Linus as
soon as possible, since it fixes a regression.

					- Ted

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
  2014-06-28 19:14   ` Theodore Ts'o
  (?)
@ 2014-06-28 19:44   ` Andrew Morton
  2014-06-28 19:57     ` Theodore Ts'o
  -1 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2014-06-28 19:44 UTC (permalink / raw)
  To: Theodore Ts'o
  Cc: Namjae Jeon, linux-mm, linux-ext4, Lukáš Czerner,
	'Matthew Wilcox', 'Eric Whitney',
	Ashish Sangwan

On Sat, 28 Jun 2014 15:14:25 -0400 "Theodore Ts'o" <tytso@mit.edu> wrote:

> On Fri, Jun 27, 2014 at 08:38:49PM +0900, Namjae Jeon wrote:
> > Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> > the requested range in msync().
> > xfstests generic/075 fail occured on ext4 data=journal mode because
> > the intended range was not syncing due to wrong fstart calculation.
> > 
> > Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> > Cc: Luk____ Czerner <lczerner@redhat.com>
> > Reported-by: Eric Whitney <enwlinux@gmail.com>
> > Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> > Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
> 
> Reviewed-by: Theodore Ts'o <tytso@mit.edu>
> 
> Andrew, do you want to take this in the mm tree,

I have done so.

> or shall I take it in
> the ext4 tree?  I would prefer if we could get this pushed to Linus as
> soon as possible, since it fixes a regression.

Yep, I'll get it over to Linus early next week.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] msync: fix incorrect fstart calculation
  2014-06-28 19:44   ` Andrew Morton
@ 2014-06-28 19:57     ` Theodore Ts'o
  0 siblings, 0 replies; 10+ messages in thread
From: Theodore Ts'o @ 2014-06-28 19:57 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Namjae Jeon, linux-mm, linux-ext4, Lukáš Czerner,
	'Matthew Wilcox', 'Eric Whitney',
	Ashish Sangwan

On Sat, Jun 28, 2014 at 12:44:21PM -0700, Andrew Morton wrote:
> On Sat, 28 Jun 2014 15:14:25 -0400 "Theodore Ts'o" <tytso@mit.edu> wrote:
> 
> > On Fri, Jun 27, 2014 at 08:38:49PM +0900, Namjae Jeon wrote:
> > > Fix a regression caused by Commit 7fc34a62ca mm/msync.c: sync only
> > > the requested range in msync().
> > > xfstests generic/075 fail occured on ext4 data=journal mode because
> > > the intended range was not syncing due to wrong fstart calculation.
> > > 
> > > Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
> > > Cc: Luk____ Czerner <lczerner@redhat.com>
> > > Reported-by: Eric Whitney <enwlinux@gmail.com>
> > > Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> > > Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
> > 
> > Reviewed-by: Theodore Ts'o <tytso@mit.edu>
> > 
> > Andrew, do you want to take this in the mm tree,
> 
> I have done so.

Great, thanks!!

						- Ted

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-06-28 19:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-27 11:38 [PATCH] msync: fix incorrect fstart calculation Namjae Jeon
2014-06-27 11:51 ` Lukáš Czerner
2014-06-27 11:51   ` Lukáš Czerner
2014-06-27 12:43 ` Wilcox, Matthew R
2014-06-27 16:12   ` Eric Whitney
2014-06-27 16:12     ` Eric Whitney
2014-06-28 19:14 ` Theodore Ts'o
2014-06-28 19:14   ` Theodore Ts'o
2014-06-28 19:44   ` Andrew Morton
2014-06-28 19:57     ` Theodore Ts'o

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.