Don't clear GRANT flag for a grant we just set.
b=3751
- don't unlink "objects" from directory with default EA (4554)
- hold socknal file ref over connect in case target is down (4394)
- allow more than 32000 subdirectories in a single directory (3244)
+ - fix blocks count for O_DIRECT writes (3751)
- OST returns ENOSPC from object create when no space left (4539)
- don't send truncate RPC if file size isn't changing (4410)
- limit OSC precreate to 1/2 of value OST considers bogus (4778)
/* We're finishing using body->oa as an input variable, so reset
* o_valid here. */
- if (oa && oa->o_valid & OBD_MD_FLGRANT)
+ if (oa && oa->o_valid & OBD_MD_FLGRANT) {
oa->o_grant = filter_grant(exp,oa->o_grant,oa->o_undirty,left);
-
- oa->o_valid = 0;
+ oa->o_valid = OBD_MD_FLGRANT;
+ } else if (oa) {
+ oa->o_valid = 0;
+ }
spin_unlock(&exp->exp_obd->obd_osfs_lock);
def connect(self, srv):
self.add_uuid(srv.net_type, srv.nid_uuid, srv.nid)
if srv.net_type in ('tcp',) and not config.lctl_dump:
- flags = 's'
+ flags = 'se'
if srv.irq_affinity:
flags = flags + 'i'
self.add_autoconn(srv.net_type, srv.send_mem, srv.recv_mem,