On Thu, 2006-10-05 at 16:57 +0100, Mark Williamson wrote: > Hi Trond, > > Thanks for your reply! > > > > > 4) Check that writepages() does not kick in earlier and does not do > > > > the job instead. > > > > > > I'm not implementing a writepages() method either, at the moment. > > > > In that case have you remembered to set 'generic_writepages' as your > > default writepages callback? > > I tried that, and thought it fixed the problem but have been unable to > reproduce the correct behaviour. > > I've now hooked in a custom writepages() implementation that just printks and > returns - it doesn't appear to get called. I know I'm dirtying the page on > commit_write, and sync is writing out the inode. What do you mean by "writing out the inode" ? Does your writepage() gets called or not ? And also, you mentioned that you don't have a backing block-device. What is the mapping->backing_dev_info set to ? For example, sync_sb_inodes() skips the inodes and superblock if (!bdi_cap_writeback_dirty(bdi)) { ... /* * Dirty memory-backed inode against a filesystem other * than the kernel-internal bdev filesystem. Skip the * entire superblock. */ break; } Thanks, Badari - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html