* JFFS2 file address space operation
@ 2006-08-08 10:08 Amit Kumar Sharma
2006-08-08 16:38 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Amit Kumar Sharma @ 2006-08-08 10:08 UTC (permalink / raw)
To: linux-mtd
Hi
I find mmap operation for file failed in JFFS2, I find Jffs2 does not
support writepage in JFFS2 file address operation .I would like to know
reason for not supporting writepage operation for file address operation.
,
struct address_space_operations jffs2_file_address_operations =
{
.readpage = jffs2_readpage,
.prepare_write =jffs2_prepare_write,
.commit_write = jffs2_commit_write
};
Thanks
Amit
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: JFFS2 file address space operation
2006-08-08 10:08 JFFS2 file address space operation Amit Kumar Sharma
@ 2006-08-08 16:38 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2006-08-08 16:38 UTC (permalink / raw)
To: Amit Kumar Sharma; +Cc: linux-mtd
On Tue, 2006-08-08 at 19:08 +0900, Amit Kumar Sharma wrote:
> I find mmap operation for file failed in JFFS2, I find Jffs2 does not
> support writepage in JFFS2 file address operation .I would like to know
> reason for not supporting writepage operation for file address operation.
JFFS2 supports compression so there often isn't anything you can mmap
directly.
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-08 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-08 10:08 JFFS2 file address space operation Amit Kumar Sharma
2006-08-08 16:38 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox