DNE Phase 1: Remote Directories (LU-1187)

[LU-2781] sp_rm_entry not initialized properly Created: 07/Feb/13  Updated: 03/Mar/13  Resolved: 26/Feb/13

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: Lustre 2.4.0

Type: Technical task Priority: Blocker
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: LB

Rank (Obsolete): 6736

 Description   

Using 'lfs rm_emtry' may cause future (ordinary) unlinks to fail with -EPERM because sp_rm_entry is not being cleared from mdt_thread_info.mti_spec.

# MDSCOUNT=1 llmount.sh
# cd /mnt/lustre
# ls -a
.  ..  .lustre
# lfs rm_entry NXDIR
error on ioctl 0xc03066f0 for 'NXDIR' (3): No such file or directory
# touch f0
# rm f0
rm: cannot remove `f0': Operation not permitted


 Comments   
Comment by John Hammond [ 12/Feb/13 ]

Please see http://review.whamcloud.com/5327.

Comment by John Hammond [ 26/Feb/13 ]

Patch landed to master.

Generated at Sat Feb 10 01:28:08 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.