VirtualBox

Changes between Initial Version and Version 3 of Ticket #5251


Ignore:
Timestamp:
Oct 23, 2009 4:29:25 PM (14 years ago)
Author:
Frank Mehnert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5251

    • Property Priority minormajor
  • Ticket #5251 – Description

    initial v3  
    11When using a windows xp host and a linux guest (debian/testing 2.6.30.2) using shared folders, there is a slight delay after a file is deleted until it really is deleted, leading to a race condition. This becomes visible when using `svnadmin load`, which creates transaction files in a directory and deletes them at the end:
    2 
    3 ---
    4 
     2{{{
    5301  open("secureusbstick/db/transactions/0-0.txn", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
    6 
    7402  fstat64(4, {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
    8 
    9503  fcntl64(4, F_GETFD)               = 0x1 (flags FD_CLOEXEC)
    10 
    11604  getdents64(4, /* 5 entries */, 4096) = 144
    12 
    13 05 lstat64("secureusbstick/db/transactions/0-0.txn/.", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
    14 
     705  lstat64("secureusbstick/db/transactions/0-0.txn/.", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
    15806  lstat64("secureusbstick/db/transactions/0-0.txn/..", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
    16 
    17907  lstat64("secureusbstick/db/transactions/0-0.txn/changes", {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
    18 
    191008  unlink("secureusbstick/db/transactions/0-0.txn/changes") = 0
    20 
    211109  lstat64("secureusbstick/db/transactions/0-0.txn/next-ids", {st_mode=S_IFREG|0777, st_size=4, ...}) = 0
    22 
    231210  unlink("secureusbstick/db/transactions/0-0.txn/next-ids") = 0
    24 
    251311  lstat64("secureusbstick/db/transactions/0-0.txn/node.0.0", {st_mode=S_IFREG|0777, st_size=140, ...}) = 0
    26 
    271412  unlink("secureusbstick/db/transactions/0-0.txn/node.0.0") = 0
    28 
    291513  getdents64(4, /* 0 entries */, 4096) = 0
    30 
    311614  lseek(4, 0, SEEK_SET)             = 0
    32 
    331715  getdents64(4, /* 5 entries */, 4096) = 144
    34 
    351816  lstat64("secureusbstick/db/transactions/0-0.txn/.", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
    36 
    371917  lstat64("secureusbstick/db/transactions/0-0.txn/..", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
    38 
    392018  lstat64("secureusbstick/db/transactions/0-0.txn/changes", 0xbfc9faf0) = -1 ENOENT (No such file or directory)
    40 
    412119  close(4)                          = 0
    42 
    43 ---
     22}}}
    4423
    4524The directory is opened at line 01, on line 04 the contents are retrieved (3 files, and the directories . and ..).

© 2023 Oracle
ContactPrivacy policyTerms of Use