Print this page
NEX-3562 filename normalization doesn't work for removes (sync with upstream)
NEX-6088 ZFS scrub/resilver take excessively long due to issuing lots of random IO
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-3329 libnsl: set_up_connection() over TCP does not adhere the specified timeout
Reviewed by: Dan Fields <dan.fields@nexenta.com>
NEX-3521 CLONE - Port NEX-3209 normalization=formD and casesensitivity=mixed behaves improperly, squashing case
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
NEX-3591 SMB3 signing (hdrchk)
NEX-3719 CLONE - Port NEX-3517 Eliminate the unused MT_BEST code to simplify normalization & case.
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/zap.h
          +++ new/usr/src/uts/common/fs/zfs/sys/zap.h
↓ open down ↓ 200 lines elided ↑ open up ↑
 201  201  int zap_contains(objset_t *ds, uint64_t zapobj, const char *name);
 202  202  int zap_prefetch_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key,
 203  203      int key_numints);
 204  204  int zap_lookup_by_dnode(dnode_t *dn, const char *name,
 205  205      uint64_t integer_size, uint64_t num_integers, void *buf);
 206  206  int zap_lookup_norm_by_dnode(dnode_t *dn, const char *name,
 207  207      uint64_t integer_size, uint64_t num_integers, void *buf,
 208  208      matchtype_t mt, char *realname, int rn_len,
 209  209      boolean_t *ncp);
 210  210  
 211      -int zap_count_write_by_dnode(dnode_t *dn, const char *name,
 212      -    int add, refcount_t *towrite, refcount_t *tooverwrite);
 213      -
 214  211  /*
 215  212   * Create an attribute with the given name and value.
 216  213   *
 217  214   * If an attribute with the given name already exists, the call will
 218  215   * fail and return EEXIST.
 219  216   */
 220  217  int zap_add(objset_t *ds, uint64_t zapobj, const char *key,
 221  218      int integer_size, uint64_t num_integers,
 222  219      const void *val, dmu_tx_t *tx);
 223  220  int zap_add_by_dnode(dnode_t *dn, const char *key,
↓ open down ↓ 59 lines elided ↑ open up ↑
 283  280  
 284  281  /*
 285  282   * Transfer all the entries from fromobj into intoobj.  Only works on
 286  283   * int_size=8 num_integers=1 values.  Fails if there are any duplicated
 287  284   * entries.
 288  285   */
 289  286  int zap_join(objset_t *os, uint64_t fromobj, uint64_t intoobj, dmu_tx_t *tx);
 290  287  
 291  288  /* Same as zap_join, but set the values to 'value'. */
 292  289  int zap_join_key(objset_t *os, uint64_t fromobj, uint64_t intoobj,
 293      -    uint64_t value, dmu_tx_t *tx);
      290 +    uint64_t value, dmu_tx_t *tx, boolean_t exists_ok);
 294  291  
 295  292  /* Same as zap_join, but add together any duplicated entries. */
 296  293  int zap_join_increment(objset_t *os, uint64_t fromobj, uint64_t intoobj,
 297  294      dmu_tx_t *tx);
 298  295  
 299  296  /*
 300  297   * Manipulate entries where the name + value are the "same" (the name is
 301  298   * a stringified version of the value).
 302  299   */
 303  300  int zap_add_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx);
↓ open down ↓ 182 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX