Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4902

Do not require rpc_lock for readdir

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.6.0
    • Lustre 2.6.0, Lustre 2.4.3
    • None
    • 3
    • 13538

    Description

      [4/13/14, 3:46:55 AM] Alex Zhuravlev: mdc_read_page() enqueues a lock with IT_READDIR, but then in mdc_get_rpc_lock():

      static inline void mdc_get_rpc_lock(struct mdc_rpc_lock *lck,
      				    struct lookup_intent *it)
      {
      	ENTRY;
      
      	if (it != NULL && (it->it_op == IT_GETATTR || it->it_op == IT_LOOKUP ||
      			   it->it_op == IT_LAYOUT))
      		return;
      

      [4/13/14, 3:47:30 AM] Alex Zhuravlev: so, enqueue for readdir is serialized with open/reint ?

      Attachments

        Issue Links

          Activity

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: