Messages in this thread | | | Date | Mon, 6 Jul 2015 13:11:05 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH 1/1] suspend: delete sys_sync() |
| |
Hi!
> > Moreover, question is if we really need to carry out the sync on *every* > > suspend even if it is not pointless overall. That shouldn't really be > > necessary if we suspend and resume often enough or if we resume only for > > a while and then suspend again. Maybe it should be rate limited somehow > > at least? > > If you suspend and resume frequently, then the cost of the sync > shoul dbe negliable because the amount of data dirtied between > resume/suspend shoul dbe negliable. hence my questions about where > sync is spending too much time, and whether we've actually fixed > those problems or not. If sync speed on clean filesystems is a > problem then we need to fix sync, not work around it.
And yes, that's solution I'd really prefer over adding knobs to suspend. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |