[linux-cifs-client] More tests on several clients for the same file

Steven French sfrench at us.ibm.com
Wed Jan 4 14:27:20 GMT 2006






You are correct that your test case fails because the cifs client does not
allow you to update the file size from the remote server while the file is
open for writing and thus potentially being extended on the client.
Changing this to allow updates from the remote server of a file that is
growing on the server is doable but would require careful changes to avoid
races with writepage/writepages.

Your patch was close to what was needed for the lseek part, but fixing
serialization between is_size_safe_to_write and writepage/writepages and
setattr is needed.


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list