Skip to content
Snippets Groups Projects
Commit b5f04105 authored by alex's avatar alex
Browse files

- new routine lmv_get_mea_and_update_object() to be called for

  MDS's reply with -ERESTART which notifies directory got splitted
- lmv_intent_open() recognizes a dir gets splitted during request,
  retrieves mea and repeats the request using proper MDS
- lmv_create() recognizes a dir gets splitted during request,
  retrieves mea and repeats the request using proper MDS
- bug fixed in lmv_getattr_name(): it passed wrong namelen to raw_name2idx()
- lmv_obd_create() sets OBD_MD_FLID to flag MDSs to mark created object
  unsplittable. we have to differ two possible requests: 1) to create
  remote inode for cross-node mkdir(); 2) to create slave objects. last
  ones must not be splitted recursively
- mdt_obj_create() has been rewritten to comply just described rules.
  also, it takes a lock on newly created inode. this is needed for recovery
- bug fixed in scan_and_distribute(): it tried to open an inode using decimal
  number and this caused iopen_lookup() to find alias dentries
- mds_get_lmv_attr() should return right mea size for given conf. in any case
- minor cleanups
parent de3b0ce1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment