diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/installation/upgrade_4_8_mpool.html | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
Diffstat (limited to 'docs/installation/upgrade_4_8_mpool.html')
| -rw-r--r-- | docs/installation/upgrade_4_8_mpool.html | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/docs/installation/upgrade_4_8_mpool.html b/docs/installation/upgrade_4_8_mpool.html index d012f147..368161d6 100644 --- a/docs/installation/upgrade_4_8_mpool.html +++ b/docs/installation/upgrade_4_8_mpool.html @@ -7,14 +7,14 @@ <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> <link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" /> - <link rel="up" href="upgrade_4_8_toc.html" title="Chapter 13. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8" /> + <link rel="up" href="upgrade_4_8_toc.html" title="Chapter 15. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8" /> <link rel="prev" href="upgrade_4_8_dpl.html" title="Registering DPL Secondary Keys" /> <link rel="next" href="upgrade_4_8_fcntl.html" title="Dropped Support for fcntl System Calls" /> </head> <body> <div xmlns="" class="navheader"> <div class="libver"> - <p>Library Version 11.2.5.3</p> + <p>Library Version 12.1.6.1</p> </div> <table width="100%" summary="Navigation header"> <tr> @@ -22,7 +22,7 @@ </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="upgrade_4_8_dpl.html">Prev</a> </td> - <th width="60%" align="center">Chapter 13. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8</th> + <th width="60%" align="center">Chapter 15. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8</th> <td width="20%" align="right"> <a accesskey="n" href="upgrade_4_8_fcntl.html">Next</a></td> </tr> </table> @@ -37,27 +37,30 @@ </div> </div> <p> - DB 4.8 introduces some performance enhancements, based on the use - of shared/exclusive latches instead of locks in some areas of the - internal buffer management code. This change will affect how the - <code class="classname">DB_MPOOL</code> interface handles dirty buffers. -</p> - <p> Because of these - changes, <code class="methodname">DB_MPOOLFILE->get</code> will now - acquire an exclusive latch on the buffer if - the <code class="literal">DB_MPOOL_DIRTY</code> - or <code class="literal">DB_MPOOL_EDIT</code> flags are specified. This - could lead to an application deadlock if the application tries to - fetch the buffer again, without an - intervening <code class="methodname">DB_MPOOLFILE->put</code> call. -</p> + DB 4.8 introduces some performance enhancements, based on + the use of shared/exclusive latches instead of locks in some + areas of the internal buffer management code. This change will + affect how the <code class="classname">DB_MPOOL</code> interface + handles dirty buffers. + </p> + <p> + Because of these changes, + <code class="methodname">DB_MPOOLFILE->get</code> will now + acquire an exclusive latch on the buffer if the + <code class="literal">DB_MPOOL_DIRTY</code> or + <code class="literal">DB_MPOOL_EDIT</code> flags are specified. This + could lead to an application deadlock if the application tries + to fetch the buffer again, without an intervening + <code class="methodname">DB_MPOOLFILE->put</code> call. + </p> <p> - If your application uses the <code class="literal">DB_MPOOL</code> - interface, and especially the <code class="literal">DB_MPOOL_DIRTY</code> - and <code class="literal">DB_MPOOL_EDIT</code> flags, you should review your - code to ensure that this behavior change does not cause your - application to deadlock. -</p> + If your application uses the <code class="literal">DB_MPOOL</code> + interface, and especially the + <code class="literal">DB_MPOOL_DIRTY</code> and + <code class="literal">DB_MPOOL_EDIT</code> flags, you should review + your code to ensure that this behavior change does not cause + your application to deadlock. + </p> </div> <div class="navfooter"> <hr /> |
