On 2019/7/22 ????11:12, Theodore Y. Ts'o wrote: > On Mon, Jul 22, 2019 at 10:16:44PM +0800, Gao Xiang wrote: >> OK, I will give a try. One point I think is how to deal with the case >> if there is already cached information when remounting as well as you said. >> >> As the first step, maybe the mount option can be defined as >> allowing/forbiding caching from now on, which can be refined later. > > Yes; possible solutions include ignoring the issue (assuming that > cached data structures that "shouldn't" be in the cache given the new > cache strategy will fall out of the cache over time), forcibly > flushing the cache when the caching strategy has changed, and of > course, forbidding caching strategy change at remount time. Okay, thanks for your kindly suggestion :) will do, hopefully resend this week (I agree less bugs with less kernel configs.). Thanks, Gao Xiang > > Cheers, > > - Ted > _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
- Re: [PATCH v3 01/24] erofs: add on-disk layout Gao Xiang
- Re: [PATCH v3 01/24] erofs: add on-disk layout Greg Kroah-Hartman
- [PATCH v3 20/24] erofs: introduce generic decompression... Gao Xiang
- [PATCH v3 23/24] erofs: introduce cached decompression Gao Xiang
- Re: [PATCH v3 23/24] erofs: introduce cached decom... David Sterba
- Re: [PATCH v3 23/24] erofs: introduce cached d... Gao Xiang
- Re: [PATCH v3 23/24] erofs: introduce cach... Theodore Y. Ts'o
- Re: [PATCH v3 23/24] erofs: introduce ... Gao Xiang
- Re: [PATCH v3 23/24] erofs: intro... Theodore Y. Ts'o
- Re: [PATCH v3 23/24] erofs: i... Gao Xiang
- Re: [PATCH v3 23/24] erofs: introduce cach... David Sterba
- [PATCH v3 21/24] erofs: introduce LZ4 decompression inp... Gao Xiang
- [PATCH v3 17/24] erofs: introduce per-CPU buffers imple... Gao Xiang
- [PATCH v3 05/24] erofs: add inode operations Gao Xiang
- [PATCH v3 19/24] erofs: add erofs_allocpage() Gao Xiang
- [PATCH v3 02/24] erofs: add erofs in-memory stuffs Gao Xiang
- [PATCH v3 18/24] erofs: introduce pagevec for decompres... Gao Xiang
- [PATCH v3 06/24] erofs: support special inode Gao Xiang
- [PATCH v3 07/24] erofs: add directory operations Gao Xiang