]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/dbuf.c
Illumos 6288 - dmu_buf_will_dirty could be faster
authorMatthew Ahrens <mahrens@delphix.com>
Wed, 4 Nov 2015 20:37:33 +0000 (21:37 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 12 Jan 2016 17:13:52 +0000 (09:13 -0800)
commit5a28a9737ade6a9c1014d8e7f286431fad9f382e
treee9c5aa4a891f08a1bf91f6c083b5cf9e7db597d1
parent2e8efe1befcbfb7bd832bf9717a2db95a420ba1c
Illumos 6288 - dmu_buf_will_dirty could be faster

6288 dmu_buf_will_dirty could be faster
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Justin Gibbs <gibbs@scsiguy.com>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Approved by: Robert Mustacchi <rm@joyent.com>

References:
  https://www.illumos.org/issues/6288
  https://github.com/illumos/illumos-gate/commit/0f2e7d0

Porting notes:
- [module/zfs/dbuf.c]
  - Fix 'warning: ISO C90 forbids mixed declarations and code'
    by moving 'dbuf_dirty_record_t *dr' to start of code block.

Ported-by: kernelOfTruth kerneloftruth@gmail.com
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/dbuf.c