tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: genfs_gop_write_rwmap


On Wed, Feb 11, 2009 at 06:55:54PM +0900, YAMAMOTO Takashi wrote:
> thanks for explanation.  (again?  sorry, i don't remember.)
> it's for udf directories, not for regular files.
> your VOP_STRATEGY can modify a buffer (memory pointed by bp->b_data)
> even when !B_READ.
> right?

you hit the nail on the head! Stuff is only allocatable on STRATEGY like LFS
but unlike LFS it needs to update the buffer to reflect the allocated place
when writing yes.

The origional read-only buffer mapping was to prevent accidental
modifications of the buffer data? As a kind of assertion?

Withg regards,

Home | Main Index | Thread Index | Old Index