* per-file NOCOW in 3.7
@ 2012-11-21 15:48 Marios Titas
  2012-11-21 17:25 ` David Sterba
  0 siblings, 1 reply; 4+ messages in thread
From: Marios Titas @ 2012-11-21 15:48 UTC (permalink / raw)
  To: btrfs
According to the tentative changelog in the wiki, 3.7 will properly
support per-file NOCOW. I think this is misleading. In particular, it
still does not work correctly in the case when the NOCOW flag of a new
flag is being inherited from the directory. I think it would be better
to remove that item from the changelog until the the fix [1] is
merged.
[1] https://patchwork.kernel.org/patch/1438431/
^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: per-file NOCOW in 3.7
  2012-11-21 15:48 per-file NOCOW in 3.7 Marios Titas
@ 2012-11-21 17:25 ` David Sterba
  2012-11-22  1:16   ` Liu Bo
  0 siblings, 1 reply; 4+ messages in thread
From: David Sterba @ 2012-11-21 17:25 UTC (permalink / raw)
  To: Marios Titas; +Cc: btrfs, bo.li.liu
On Wed, Nov 21, 2012 at 10:48:08AM -0500, Marios Titas wrote:
> According to the tentative changelog in the wiki, 3.7 will properly
> support per-file NOCOW. I think this is misleading. In particular, it
> still does not work correctly in the case when the NOCOW flag of a new
> flag is being inherited from the directory. I think it would be better
> to remove that item from the changelog until the the fix [1] is
> merged.
> [1] https://patchwork.kernel.org/patch/1438431/
You're right, the patch is not in 3.7-rc nor in btrfs-next, and fixes a
real bug.
Technically it is a regresssion within the 3.7 cycle (so it could even
go to a late -rc), in any case it's a small change that could also go
through the stable tree.
david
^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: per-file NOCOW in 3.7
  2012-11-21 17:25 ` David Sterba
@ 2012-11-22  1:16   ` Liu Bo
  2012-11-23 20:54     ` Sergei Trofimovich
  0 siblings, 1 reply; 4+ messages in thread
From: Liu Bo @ 2012-11-22  1:16 UTC (permalink / raw)
  To: btrfs; +Cc: Marios Titas, dsterba
On Wed, Nov 21, 2012 at 06:25:11PM +0100, David Sterba wrote:
> On Wed, Nov 21, 2012 at 10:48:08AM -0500, Marios Titas wrote:
> > According to the tentative changelog in the wiki, 3.7 will properly
> > support per-file NOCOW. I think this is misleading. In particular, it
> > still does not work correctly in the case when the NOCOW flag of a new
> > flag is being inherited from the directory. I think it would be better
> > to remove that item from the changelog until the the fix [1] is
> > merged.
> > [1] https://patchwork.kernel.org/patch/1438431/
> 
> You're right, the patch is not in 3.7-rc nor in btrfs-next, and fixes a
> real bug.
> 
> Technically it is a regresssion within the 3.7 cycle (so it could even
> go to a late -rc), in any case it's a small change that could also go
> through the stable tree.
> 
> david
Well, I'll resend it for merge with Marios's reported-by and your Reviewed-by.
Don't worry, it's a good fix though.
thanks,
liubo
^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: per-file NOCOW in 3.7
  2012-11-22  1:16   ` Liu Bo
@ 2012-11-23 20:54     ` Sergei Trofimovich
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2012-11-23 20:54 UTC (permalink / raw)
  To: bo.li.liu; +Cc: btrfs, Marios Titas, dsterba, Chris Mason
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]
> > > According to the tentative changelog in the wiki, 3.7 will properly
> > > support per-file NOCOW. I think this is misleading. In particular, it
> > > still does not work correctly in the case when the NOCOW flag of a new
> > > flag is being inherited from the directory. I think it would be better
> > > to remove that item from the changelog until the the fix [1] is
> > > merged.
> > > [1] https://patchwork.kernel.org/patch/1438431/
> > 
> > You're right, the patch is not in 3.7-rc nor in btrfs-next, and fixes a
> > real bug.
> > 
> > Technically it is a regresssion within the 3.7 cycle (so it could even
> > go to a late -rc), in any case it's a small change that could also go
> > through the stable tree.
> > 
> > david
> 
> Well, I'll resend it for merge with Marios's reported-by and your Reviewed-by.
> 
> Don't worry, it's a good fix though.
I'm using your patch on 2 boxes for 2 months.
It is the only way to get decent performance
on my workload.
Thanks for the patch!
Tested-by: Sergei Trofimovich <slyich@gmail.com>
-- 
  Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply	[flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-11-23 20:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 15:48 per-file NOCOW in 3.7 Marios Titas
2012-11-21 17:25 ` David Sterba
2012-11-22  1:16   ` Liu Bo
2012-11-23 20:54     ` Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).