Re: [PATCH] CIFS: Use invalidate_inode_pages2 instead of invalidate_remote_inode (try #4)

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

 



On Tue, Mar 22, 2011 at 11:42 AM, Steve French <smfrench@xxxxxxxxx> wrote:
> Isn't there a lock across lseek?
>
>>> but how could we have PageDirty?  We just did filemap_write_and_wait
>>> (unless some private mmap case where it may be ok?).
>>>
>>
>> Nothing prevents the page from being redirtied after writeback.

If it is redirtied, we immediately do a filemap_fdatawrite anyway (in
the write/aio_write path) so there isn't a delay in writing data to
the server.



-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux