On Mon, Aug 01, 2011 at 03:22:02PM -1000, Linus Torvalds wrote: > On Mon, Aug 1, 2011 at 2:17 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote: > > > > Well, I'm not sure if the patch below is the right fix, but it evidently makes > > s2disk work for me again. > > Looks right to me. > > The only issue is whether we should use "db_mapping->i_mapping" or > "file->f_mapping". I think they are the same for block devices. > > Al? Applied (in file->f_mapping variant; it is equal to bdev->bd_mapping, but what's wrong with using ->f_mapping here?) > Also, what about some of the other fsync things that apparently > weren't updated to write back page caches. ps3flash_fsync? Others? ps3flash, IIRC, doesn't go through page cache on read and write... If anything, we probably have instances that bother with pagecache for no reason... _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm