[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7196) libmdb: MDB_COMMIT_PAGES greater than IOV_MAX causes mdb_txn_commit failures



Full_Name: Roy Keene
Version: 2.4.30
OS: Solaris 10
URL: 
Submission from: (NULL) (140.194.193.14)


libmdb uses writev() to write data to a file descriptor, however it can request
that writev() write more blocks than IOV_MAX causing mdb txn errors to be
reported to the LDAP client.

MDB_COMMIT_PAGES should not be defined to be greater than IOV_MAX.

IOV_MAX on Solaris 10 is 16.