There's a semaphore protecting the inode from concurrency. Look at sys_write
in fs/read_write.c. I can't think of any easy way to avoid this other than to
manually up and down the semaphore inside your write routine.
p.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/