Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
Lustre 2.4.0
-
3
-
8922
Description
After resolving the issues in LU-3484 and LU-3486, the testing of exporting NFS over Lustre on SLES11SP2 continues and we hit yet another issue.
Creating and reading files works fine, but attempting to write to a new file resulted in an ENOENT coming back.
It's coming from here:
00000080:00000001:1.0:1372108818.561839:0:12348:0:(file.c:407:ll_intent_file_open()) Process leaving via out (rc=18446744073709551614 : -2 : 0xfffffffffffffffe)
Here's the line of code:
if (it_disposition(itp, DISP_LOOKUP_NEG))
GOTO(out, rc = -ENOENT);
Looking through the DK logs, we noticed something strange. This is the intent open log message for the attempted write:
00800000:00000002:0.0:1372108818.561125:0:12348:0:(lmv_intent.c:198:lmv_intent_open()) OPEN_INTENT with fid1=[0x2000056c1:0x2:0x0], fid2=[0x2000056c1:0x4:0x0], name='/' -> mds #0
Except this write is to a file named something like 'myfile'. Specifically, "echo 5 > myfile".
Comparing this to the normal case, not exported over NFS, we see the name of the file here like I'd expect.
Attachments
Issue Links
- is duplicated by
-
LU-3765 2.5.0<->2.1.5 interop: sanity test 24u: (mdt_handler.c:224:mdt_lock_pdo_init()) ASSERTION( namelen > 0 ) failed
- Resolved