On Fri, Jan 22, 2010 at 01:09:10PM +0100, Michael van Elst wrote: > > Keeping DEV_SIZE at 512 bytes avoids lots of changes. >
Won't that mean there is a chance there will be a lot of read/modify/write going on if the driver is pretending to have 512byte sectors? Would that not be really really bad for NFS write performance since the NFS spec says a write has to hit the media before being confirmed then wouldn't a streaming write of 512byte sectors would cause a lot of sequential read/modify/write as each 512byte chunk of the underlying disk block size was updated? -- Brett Lymn "Warning: The information contained in this email and any attached files is confidential to BAE Systems Australia. If you are not the intended recipient, any use, disclosure or copying of this email or any attachments is expressly prohibited. If you have received this email in error, please notify us immediately. VIRUS: Every care has been taken to ensure this email and its attachments are virus free, however, any loss or damage incurred in using this email is not the sender's responsibility. It is your responsibility to ensure virus checks are completed before installing any data sent in this email to your computer."