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

Do not require rpc_lock for readdir

XMLWordPrintable

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

      [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 ?

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

              Created:
              Updated:
              Resolved: