• Steve French's avatar
    Fix EIO caused by network timeouts on changing file size. · a6f63f7a
    Steve French authored
    To avoid spurious oplock breaks from server, in the case
    of inodes that we already have open, avoid doing path
    based setting of file size if we can do it by handle.
    This keeps our caching token (oplock) and avoids
    timeouts when the local oplock break takes longer to flush
    writebehind data than the SMB timeout for the SetPathInfo 
    request would allow
    a6f63f7a
inode.c 26 KB