Thread (58 messages) 58 messages, 6 authors, 2012-03-12

Re: [PATCH 5/9] writeback: introduce the pageout work

From: Jan Kara <jack@suse.cz>
Date: 2012-03-09 21:12:00
Also in: lkml

On Fri 09-03-12 18:10:51, Artem Bityutskiy wrote:
On Fri, 2012-03-09 at 10:51 +0100, Jan Kara wrote:
quoted
quoted
However I cannot find any ubifs functions to form the above loop, so
ubifs should be safe for now.
  Yeah, me neither but I also failed to find a place where
ubifs_evict_inode() truncates inode space when deleting the inode... Artem?
We do call 'truncate_inode_pages()':

static void ubifs_evict_inode(struct inode *inode)
{
	...

        truncate_inode_pages(&inode->i_data, 0);

        ...
}
  Well, but that just removes pages from page cache. You should somewhere
also free allocated blocks and free the inode... And I'm sure you do,
otherwise you would pretty quickly notice that file deletion does not work
:) Just I could not find which function does it.

								Honza
-- 
Jan Kara [off-list ref]
SUSE Labs, CR

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  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@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help