mirror_zfs/tests/zfs-tests
sanjeevbagewadi cc63068e95 Handle zap_add() failures in mixed case mode
With "casesensitivity=mixed", zap_add() could fail when the number of
files/directories with the same name (varying in case) exceed the
capacity of the leaf node of a Fatzap. This results in a ASSERT()
failure as zfs_link_create() does not expect zap_add() to fail. The fix
is to handle these failures and rollback the transactions.

Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Sanjeev Bagewadi <sanjeev.bagewadi@gmail.com>
Closes #7011 
Closes #7054
2018-02-09 10:15:53 -08:00
..
callbacks Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
cmd OpenZFS 7431 - ZFS Channel Programs 2018-02-08 15:28:18 -08:00
include OpenZFS 7431 - ZFS Channel Programs 2018-02-08 15:28:18 -08:00
tests Handle zap_add() failures in mixed case mode 2018-02-09 10:15:53 -08:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00