- 论坛徽章:
- 0
|
原帖由 danielhf 于 2009-4-17 13:32 发表 ![]()
判断了呀, 经常失败, 不是报resource busy就是 host down, 但那台windows没有问题, 我现在另外机器上测,不知道是cifs的bug, 还是我程序里的mount的问题
EBUSY source is already mounted. Or, it cannot be remounted read-only, because it still holds files open
for writing. Or, it cannot be mounted on target because target is still busy (it is the working
directory of some task, the mount point of another device, has open files, etc.). Or, it could not
be unmounted because it is busy.
我估计这就是因为有竞争所导致的busy问题,应该是需要加锁的。
另外多个线程真的就需要mount多次么? |
|