1. 08 Sep, 2009 2 commits
  2. 19 Aug, 2009 2 commits
  3. 18 Aug, 2009 4 commits
  4. 11 Aug, 2009 5 commits
  5. 05 Aug, 2009 1 commit
  6. 04 Aug, 2009 4 commits
  7. 29 Jul, 2009 10 commits
    • Rusty Russell's avatar
      Import from SAMBA tdb: · ccce1aa2
      Rusty Russell authored
      commit a6cc04a20089e8fbcce138c271961c37ddcd6c34
      Author: Andrew Tridgell <tridge@samba.org>
      Date:   Mon Jun 1 13:13:07 2009 +1000
      
          overallocate all records by 25%
          
          This greatly reduces the fragmentation of databases where records
          tend to grow slowly by a small amount each time. The case where this
          is most seen is the ldb index records. Adding this overallocation
          reduced the size of the resulting database by more than 20x when
          running a test that adds 10k users.
      ccce1aa2
    • Rusty Russell's avatar
      Import from SAMBA tdb: · 059678ec
      Rusty Russell authored
      commit a386173fa1c7c5bcc11ea9260d84b6c52c154b3d
      Author: Andrew Tridgell <tridge@samba.org>
      Date:   Mon Jun 1 13:11:39 2009 +1000
      
          auto-repack in transactions that expand the tdb
          
          The idea behind this is to recover from badly fragmented free
          lists. Choosing the point where the file expands is fairly arbitrary,
          but seems to work well.
      059678ec
    • Rusty Russell's avatar
      Import from SAMBA tdb: · 51b9a2e9
      Rusty Russell authored
      commit 936d76802f98d04d9743b2ca8eeeaadd4362db51
      Author: Andrew Tridgell <tridge@samba.org>
      Date:   Tue Dec 16 14:38:17 2008 +1100
      
          imported the tdb_repack() code from CTDB
          
          The tdb_repack() function repacks a TDB so that it has a single
          freelist entry. The file doesn't shrink, but it does remove all
          freelist fragmentation. This code originated in the CTDB vacuuming
          code, but will now be used in ldb to cope with fragmentation from
          re-indexing
      51b9a2e9
    • Rusty Russell's avatar
      Fix up non-TDB_TRACE compile. · 43ae196c
      Rusty Russell authored
      43ae196c
    • Rusty Russell's avatar
    • Rusty Russell's avatar
      Remove const warning · f7d595da
      Rusty Russell authored
      f7d595da
    • Rusty Russell's avatar
      4f14d7bb
    • Rusty Russell's avatar
      Import from SAMBA tdb: · c5316eef
      Rusty Russell authored
      commit 4b4fec65db4e202afa13b2d15867f4d8a54d154e
      Author: Andrew Tridgell <tridge@samba.org>
      Date:   Thu May 28 16:08:28 2009 +1000
      
          make TDB_NOSYNC affect all the fsync/msync calls in transactions
      
          During a transaction commit tdb normally uses fsync/msync calls to
          make it crash safe. This can be disabled using the TDB_NOSYNC flag,
          but it wasn't disabling all the code paths that caused a fsync/msync.
      c5316eef
    • Rusty Russell's avatar
      Import from SAMBA's tdb: · 8f4a253c
      Rusty Russell authored
      commit a91bcbccf8a2243dac57cacec6fdfc9907580f69
      Author: Jim McDonough <jmcd@samba.org>
      Date:   Thu May 21 16:26:26 2009 -0400
      
          Detect tight loop in tdb_find()
      8f4a253c
    • Rusty Russell's avatar
      Import from SAMBA's tdb: · 03c18761
      Rusty Russell authored
      commit b90863c0b7b860b006ac49c9396711ff351f777f
      Author: Howard Chu <hyc@highlandsun.com>
      Date:   Tue Mar 31 13:15:54 2009 +1100
      
          Add tdb_transaction_prepare_commit()
          
          Using tdb_transaction_prepare_commit() gives us 2-phase commits. This
          allows us to safely commit across multiple tdb databases at once, with
          reasonable transaction semantics
          
          Signed-off-by: tridge@samba.org
      03c18761
  8. 25 Jul, 2009 1 commit
  9. 21 Jul, 2009 2 commits
  10. 20 Jul, 2009 1 commit
  11. 19 Jul, 2009 1 commit
  12. 18 Jul, 2009 7 commits