Re: [patch 1/2] fuse: delete dead .write_begin and .write_end aops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 08, 2011 at 05:05:20PM +0200, Miklos Szeredi wrote:
> > The loop code still calls them uncondtionally.  This actually is a big
> > as write_begin and write_end require filesystems specific locking,
> > and might require code in the filesystem to e.g. update the ctime
> > properly.  I'll let Miklos chime in if leaving them in was intentional,
> > and if it was a comment is probably justified.
> 
> Loop checks for ->write_begin() and falls back to ->write if the former
> isn't defined.
> 
> So I think the patch is fine.  I tested loop over fuse, and it still
> works after the patch.

It works, but it involves another data copy, which will slow down
various workloads that people at least historically cared about.

And yes, unconditionally above was wrong - calls them if present without
taking care of filesystem specific locking would be the right term.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]