Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
If open_by_handle_at() is called in O_WRONLY or O_RDWR mode and then the file descriptor is closed, other lustre clients will still report ETXTBSY.
Example:
On cn16
=======
bschubert@cn16 ~>sudo ~/src/test/open-test /mnt/lustre_client-ES24/bschubert/ime/test7 1
Opened /mnt/lustre_client-ES24/bschubert/ime/test7/test7, fd: 4
Closed d: 4
Now on cn41
=========
bschubert@cn41 ~>/mnt/lustre_client-ES24/bschubert/ime//test7
-bash: /mnt/lustre_client-ES24/bschubert/ime//test7: Text file busy
test7 is just any file which has the the execution bit set.
Attachments
Issue Links
- duplicates
-
LU-8585 All Lustre test suites should pass with subdirectory mount
-
- Open
-
- is duplicated by
-
LU-10667 Open by handle and normal open results in incorrect ETXTBSY behavior
-
- Resolved
-
- is related to
-
LU-12661 sanity test_817: FAIL: failed to execute 'true' command
-
- Open
-
- is related to
-
LU-4398 mdt_object_open_lock() may not flush conflicting handles
-
- Resolved
-
Activity
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link | Original: This issue is related to JFC-21 [ JFC-21 ] |
Link | New: This issue is related to JFC-21 [ JFC-21 ] |
Assignee | Original: WC Triage [ wc-triage ] | New: Oleg Drokin [ green ] |
Reporter | Original: Bernd Schubert [ aakef ] | New: Diego Moreno [ diegom ] |
Description |
Original:
If open_by_handle_at() is called in O_WRONLY or O_RDWR mode and then the file descriptor is closed, other lustre clients will still report ETXTBSY. Example: On cn16https://jira.hpdd.intel.com/browse/LU-10457# ======= bschubert@cn16 ~>sudo ~/src/test/open-test /mnt/lustre_client-ES24/bschubert/ime/test7 1 Opened /mnt/lustre_client-ES24/bschubert/ime/test7/test7, fd: 4 Closed d: 4 Now on cn41 ========= bschubert@cn41 ~>/mnt/lustre_client-ES24/bschubert/ime//test7 -bash: /mnt/lustre_client-ES24/bschubert/ime//test7: Text file busy test7 is just any file which has the the execution bit set. |
New:
If open_by_handle_at() is called in O_WRONLY or O_RDWR mode and then the file descriptor is closed, other lustre clients will still report ETXTBSY. Example: On cn16 ======= bschubert@cn16 ~>sudo ~/src/test/open-test /mnt/lustre_client-ES24/bschubert/ime/test7 1 Opened /mnt/lustre_client-ES24/bschubert/ime/test7/test7, fd: 4 Closed d: 4 Now on cn41 ========= bschubert@cn41 ~>/mnt/lustre_client-ES24/bschubert/ime//test7 -bash: /mnt/lustre_client-ES24/bschubert/ime//test7: Text file busy test7 is just any file which has the the execution bit set. |