Permalink
Switch branches/tags
v2_4_0-1dkms v2_3_65-1dkms v2_3_64-1dkms orion-2_3_49_92_1-71chaos orion-2_3_49_92_1-70chaos orion-2_3_49_54_2-75chaos orion-2_3_49_54_2-69chaos orion-2_3_49_54_2-68chaos orion-2_3_49_54_2-63chaos orion-2_3_49_54_2-62chaos orion-2_3_49_54_2-61chaos orion-2_3_49_54_2-60chaos orion-2_3_49_54_2-59chaos orion-2_3_49_54_1-58chaos orion-2_3_49_54_1-57chaos orion-2_3_49_54_1-56chaos orion-2_3_49_54_1-55chaos orion-2_3_49_54_1-54chaos orion-2_3_49_54_1-53chaos orion-2_3_49_54_1-52chaos orion-2_2_49_57_2-45chaos orion-2_2_49_57_1-44chaos orion-2_2_49_57_1-43chaos orion-2_2_49_57_1-42chaos orion-2_2_49_57_1-41chaos orion-2_2_49_56_9-40chaos orion-2_2_49_56_8-39chaos orion-2_2_49_56_7-38chaos orion-2_2_49_56_7-37chaos orion-2_2_49_56_7-36chaos orion-2_2_49_56_7-35chaos orion-2_2_49_56_7-34chaos orion-2_2_49_56_7-33chaos orion-2_2_49_56_7-32chaos orion-2_2_49_56_6-31chaos orion-2_2_49_56_6-30chaos orion-2_2_49_56_5-29chaos orion-2_2_49_56_5-28chaos orion-2_2_49_56_5-27chaos orion-2_2_49_56_5-26chaos orion-2_2_49_56_4-25chaos orion-2_2_49_56_4-24chaos orion-2_2_49_56_3-23chaos orion-2_2_49_56_3-22chaos orion-2_2_49_56_2 orion-2_2_49_56_2-21chaos orion-2_2_49_56_1 orion-2_2_49_56_1-20chaos orion-2_2_49_56_1-19chaos orion-2_2_49_50_7 orion-2_2_49_50_7-18chaos orion-2_2_49_50_6 orion-2_2_49_50_6-17chaos orion-2_2_49_50_6-16chaos orion-2_2_49_50_5 orion-2_2_49_50_5-15chaos orion-2_2_49_50_5-14chaos orion-2_2_49_50_4 orion-2_2_49_50_4-13chaos orion-2_2_49_50_4-12chaos orion-2_2_49_50_4-11chaos orion-2_2_49_50_3 orion-2_2_49_50_3-10chaos orion-2_2_49_50_3-9chaos orion-2_2_49_50_3-8chaos orion-2_2_49_50_3-7chaos orion-2_2_49_50_3-6chaos orion-2_2_49_50_3-5chaos orion-2_2_49_50_2 orion-2_2_49_50_2-4chaos orion-2_2_49_50_1 orion-2_2_49_50_1-3chaos orion-2_2_49_50_1-2chaos orion-2_2_49_50_1-1chaos 2.10.3_3.chaos 2.10.3_2.chaos 2.10.3_1.chaos 2.10.2_1.chaos 2.8.2_1.chaos 2.5.3-6chaos 2.5.3-5chaos 2.5.3-4chaos 2.5.3-3chaos 2.5.3-2chaos 2.5.3-1zfs 2.5.3-1chaos 2.4.2-17chaos 2.4.2-16chaos 2.4.2-15chaos 2.4.2-14.1chaos 2.4.2-14chaos 2.4.2-13chaos 2.4.2-12chaos 2.4.2-11chaos 2.4.2-10chaos 2.4.2-9chaos 2.4.2-8chaos 2.4.2-7chaos 2.4.2-6chaos 2.4.2-5chaos
Nothing to show
Commits on Dec 19, 2017
  1. LU-4009 osd-zfs: Add tunables to disable sync (DEBUG)

    morrone committed Apr 28, 2017
    This is a debugging patch designed to determine how much of
    a performance improvement can be expected once the ZIL is
    implemented.
    
    This is accomplished by replacing the call to txg_wait_synced(),
    which will block waiting for a full pool sync, with a smaller
    tunable delay.  This delay is intended to stand in for the time
    it would have taken to synchronously write the dirty data to
    the intent log.  However, be aware that no data is guaranteed
    to be written and this patch is solely for performance analysis.
    
    Two new tunables are introduced to control the delay, the
    osd_object_sync_delay_us and osd_txg_sync_delay_us module options.
    These values default to -1 which preserves the safe full sync
    pool behavior.  Setting these values to zero or larger will
    replace the pool sync with a delay of N microseconds.
    
    The initial test results obtained by running sanityN test 16
    (fsx) are encouraging.  If the zil_commit() time can be kept to
    less than 10ms we should see a significant performance improvement.
    These tests were run in a pristine centos 6.4 VM and the results
    are averaged over four runs.
    
    osd_txg_sync_delay_us	-1	-1	-1	-1	-1
    osd_obj_sync_delay_us	-1	0	1000	10,000	100,000
    ---------------------------------------------------------------
    SanityN test 16 (secs)	24.3	7.3	7.6	10.1	34.4
    
    Change-Id: Iff9b66888edc79a5e1585fa3ce8377be068748f2
    Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
  2. LLNL build customizations

    morrone committed Jun 21, 2016
    Change-Id: I8e2501e07dfc369f15262446cb2f841942d3e5c2
  3. Don't install lustre init script on systemd systems

    morrone committed May 19, 2017
    Don't install the lustre init script on systemd systems.
    For instance, starting in RHEL7, SysV is obsolete, replaced by
    systemd.  We choose not to add a systemd script at this time,
    instead favoring an OCF Resource Agent script for starting lustre
    servers through Pacemaker.
    
    Change-Id: I15f61d14fb8c02e438a5e1df08836b524d31af55
Commits on Dec 12, 2017
  1. New release 2.10.2.

    jhammond-intel committed Dec 12, 2017
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Change-Id: I495068f728dfe75e82f2498a3fbdf9e15f06c58c
Commits on Dec 6, 2017
  1. New tag 2.10.2-RC2.

    jhammond-intel committed Dec 6, 2017
    Second release candidate for 2.10.2 release.
    
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Change-Id: I0ced71f744d66a8abc3ce7e51a61fbc45dc6c6e7
  2. LU-10220 mdd: fix buf alloc in mdd_changelog_data_store_by_fid

    sbuisson-ddn authored and jhammond-intel committed Nov 9, 2017
    Fix allocation of mti_big_buf by call to lu_buf_check_and_alloc()
    in mdd_changelog_data_store_by_fid().
    reclen must take the header size of struct llog_changelog_rec into
    account.
    
    Maybe no memory corruptions were seen before because the buffer size
    allocated in a previous call to mdd_declare_changelog_store() was
    covering the need. But audit will add more information in changelog
    records, provoking memory corruptions without this fix.
    
    Lustre-change: https://review.whamcloud.com/30014
    Lustre-commit: f173f93
    
    Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
    Change-Id: Id0a06c412b54c0ae12c15d53f3e166e3e5d9ed68
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
    Reviewed-by: Lai Siyao <lai.siyao@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/30356
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  3. LU-8497 osp: handle remote -ENOMEM from osp_send_update_req()

    jhammond-intel committed Nov 14, 2017
    In osp_send_update_req() detect an unsent request by checking
    rq_queued_time == 0 rather than rq_set == NULL, which is always true
    after returning from ptlrpc_queue_wait().
    
    Lustre-change: https://review.whamcloud.com/30083
    Lustre-commit: cef8983
    
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Change-Id: Ief959b71600157a9c3521775cc06994326e50c51
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/30354
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
  4. LU-9941 lov: lsm_is_composite isn't right

    Bobi Jam authored and jhammond-intel committed Sep 2, 2017
    LOVEA magic containing LOV_MAGIC_MAGIC will also be regarded as
    a composite magic.
    
    Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
    Change-Id: I3ef37ee80364b2a8f27831e3c53fb88b464f2039
    Reviewed-on: https://review.whamcloud.com/28845
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    (cherry picked from commit 385518f)
    Reviewed-on: https://review.whamcloud.com/30342
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Commits on Nov 27, 2017
  1. New tag 2.10.2-RC1.

    jhammond-intel committed Nov 27, 2017
    First release candidate for 2.10.2 release.
    
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Change-Id: I207f36c4e6815dfb06ba7b9622e939ade167eb89
  2. LU-10234 tests: use wait correctly in sanity-hsm test_3[4-6]

    qb-cea authored and jhammond-intel committed Nov 15, 2017
    Test 34, 35 and 36 did not properly check the return code of wait
    and potentially missed regressions.
    
    Test-Parameters: trivial testlist=sanity-hsm
    Signed-off-by: Quentin Bouget <quentin.bouget@cea.fr>
    Change-Id: I21e8b16b55b946a8e5837549c3a3698379132e48
    Reviewed-on: https://review.whamcloud.com/30102
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Dominique Martinet <dominique.martinet@cea.fr>
    Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
    Reviewed-by: James Nunez <james.a.nunez@intel.com>
    Reviewed-by: Ben Evans <bevans@cray.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    (cherry picked from commit eec4b89)
    Reviewed-on: https://review.whamcloud.com/30208
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  3. LU-10086 libcfs: use dynamic minors for /dev/{lnet,obd}

    jhammond-intel committed Oct 24, 2017
    Request dynamic minor allocation when registering /dev/lnet and
    /dev/obd. Remove the obsolete create-device-if-not-found code from
    register_ioc_dev().
    
    Lustre-change: https://review.whamcloud.com/29741
    Lustre-commit: e446c16
    
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Change-Id: I59c70912b4729f58a76dc6107b3e1d7379c6d7a3
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Jian Yu <jian.yu@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29945
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
  4. LU-10241 kernel: kernel update RHEL6.9 [2.6.32-696.16.1.el6]

    Bob Glossman authored and jhammond-intel committed Nov 14, 2017
    Update RHEL6.9 kernel to 2.6.32-696.16.1.el6
    
    Test-Parameters: clientdistro=el6.9 mdsdistro=el6.9 \
      ossdistro=el6.9 mdtfilesystemtype=ldiskfs \
      ostfilesystemtype=ldiskfs testgroup=review-ldiskfs
    
    Signed-off-by: Bob Glossman <bob.glossman@intel.com>
    Change-Id: Ib2215b56e647fb8e19bc8b7e344a94564c7a8c7f
    Reviewed-on: https://review.whamcloud.com/30131
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Reviewed-by: James Nunez <james.a.nunez@intel.com>
    Reviewed-by: Yang Sheng <yang.sheng@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  5. LU-10166 mdc: invalid free in changelog reader

    hdoreau authored and jhammond-intel committed Oct 27, 2017
    Use kthread_stop() to instruct the producer thread to exit
    when the device is closed, and only then: release the CRS
    structure.
    
    The previous implementation left small time windows open,
    during which the producer threads could free a structure
    before the consumer thread was completely done with it.
    
    Change-Id: Id2038aa9b7fcfd2c3347f628e749f9d2c265ac6e
    Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
    Reviewed-on: https://review.whamcloud.com/29818
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    (cherry picked from commit 89e5232)
    Reviewed-on: https://review.whamcloud.com/30207
  6. LU-10040 nodemap: add nodemap idmap correctly

    liy106 authored and jhammond-intel committed Nov 9, 2017
    There are 3 situations when adding an idmap {id_client:id_fs} to
    a nodemap tree:
     - both id_client and id_fs are matched, that means this idmap
       already exists, so return -EEXIT;
     - neither id_client nor id_fs is matched, that means this is a
       new idmap, so insert it;
     - only "id_client" or "id_fs" is matched, since idmap uses
       "id_client" as index key, we need to delete that old idmap and
       its index by its id_client, and then insert it again. In the
       original implementation, idmap_insert() calls rb_replace_node()
       to replace the old idmap without re-sorting its both id_client
       and id_fs, so that this new added idmap can't be found by
       idmap_search() due to its wrong left and right nodes, and can't
       be deleted either.
    
    Also, this patch improves the following code:
     - nm_idmap_lock: use type rw_semaphore instead of rwlock, because
       nodemap_idx_idmap_del() may sleep on FS operations while this
       lock is being held.
     - Add "update_idmaps" to sanity-sec.sh test_15 to verify this fix,
       and improve other part of this test case as well to make it run
       correctly.
    
    Test-Parameters: testlist=sanity-sec
    Signed-off-by: Stephan Thiell <sthiell@stanford.edu>
    Signed-off-by: Emoly Liu <emoly.liu@intel.com>
    Change-Id: Icf777f14c2e1dd56fa5cd0eb56666240e206d199
    Reviewed-on: https://review.whamcloud.com/29364
    Tested-by: Jenkins
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    (cherry picked from commit 253ccbd)
    Reviewed-on: https://review.whamcloud.com/30206
Commits on Nov 17, 2017
  1. LU-10041 tests: sanity/51 to cleanup properly

    Alex Zhuravlev authored and jhammond-intel committed Sep 28, 2017
    sanity/51 should cleanup properly in case of failure
    
    Test-Parameters: trivial testlist=sanity ostfilesystemtype=zfs mdtfilesystemtype=zfs
    Test-Parameters: trivial testlist=sanity mdscount=2 mdtcount=4
    
    Lustre-change: https://review.whamcloud.com/29246
    Lustre-commit: 0d5ceb8
    
    Change-Id: Ib1c0e1a116a6802f2bf25d665be5c076ae07c8b8
    Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: James Nunez <james.a.nunez@intel.com>
    Reviewed-by: Wei Liu <wei3.liu@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/30023
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  2. LU-10204 tests: Fix line continuation

    Nikolay Borisov authored and jhammond-intel committed Nov 7, 2017
    There is a simple  missing in one of the error paths in
    ladvise_willread_performance which results in an unknown command
    error. Fix it by adding the missing backslash.
    
    Test-Parameters: trivial
    Signed-off-by: Nikolay Borisov <nborisov@suse.com>
    Change-Id: Ifff854c6cf5c1add71fd1571cb4de01d56204fde
    Reviewed-on: https://review.whamcloud.com/29982
    Tested-by: Jenkins
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Tested-by: Maloo <hpdd-maloo@intel.com>
  3. LU-10007 pacemaker: Use lctl and load lustre

    utopiabound authored and jhammond-intel committed Sep 21, 2017
    When scripts are started, load lustre module.
    Use lctl instead of directly accessing health_check file.
    
    Test-Parameters: trivial
    Lustre-change: https://review.whamcloud.com/29144
    Lustre-commit: 6e299c2
    
    Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Change-Id: I4a81248939464e498006dc2c4072d44685add018
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29946
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
  4. LU-10015 o2iblnd: fix race at kiblnd_connect_peer

    Alexander Boyko authored and jhammond-intel committed Sep 21, 2017
    cmid will be destroyed at OFED if kiblnd_cm_callback return error.
    if error happen before the end of kiblnd_connect_peer, it will touch
    destroyed cmid and fail as
    (o2iblnd_cb.c:1315:kiblnd_connect_peer())
                ASSERTION( cmid->device != ((void *)0) ) failed:
    
    Lustre-change: https://review.whamcloud.com/29134
    Lustre-commit: 576551c
    
    Seagate-bug-id: MRP-4592
    Signed-off-by: Alexander Boyko <alexander.boyko@seagate.com>
    Change-Id: I83eb5bceeb567acef0316498b936d25d6c6ccd95
    Reviewed-by: Alexey Lyashkov <c17817@cray.com>
    Reviewed-by: Doug Oucharek <dougso@me.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29881
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  5. LU-9951 lustre_compat: add wrapper function for posix_acl_update_mode

    Gu Zheng authored and jhammond-intel committed Oct 18, 2017
    posix_acl_update_mode is introduced in kernel 4.9, add the precheck
    of it, if not exists, use inline wrapper function instead.
    
    Lustre-change: https://review.whamcloud.com/28871
    Lutre-commit: ec6bdd5
    
    Change-Id: I8a1476d611c387a88efef5d5b8707edf5feacca8
    Signed-off-by: Gu Zheng <gzheng@ddn.com>
    Reviewed-by: Wang Shilong <wshilong@ddn.com>
    Reviewed-by: James Simmons <uja.ornl@yahoo.com>
    Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29880
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
Commits on Nov 15, 2017
  1. LU-10047 tests: stop skipping test_102 subtests

    Bob Glossman authored and jhammond-intel committed Sep 29, 2017
    Remove obsolete version check on tar.
    All tar versions in supported distros are now capable of --xattrs.
    But not all tar version have --xattrs-include, so must test for and
    adapt for that.
    
    Lustre-commit: 036641a
    Lustre-change: https://review.whamcloud.com/29288
    
    Test-Parameters: trivial envdefinitions=ONLY=102 testlist=sanity
    Test-Parameters: trivial clientdistro=el6.9 envdefinitions=ONLY=102 testlist=sanity
    Test-Parameters: trivial clientdistro=sles12sp2 envdefinitions=ONLY=102 testlist=sanity
    
    Signed-off-by: Bob Glossman <bob.glossman@intel.com>
    Change-Id: I5e76bd1a762c4e01cf8a3a33789ca3a30c15abb0
    Reviewed-by: James Nunez <james.a.nunez@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-on: https://review.whamcloud.com/29823
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
  2. LU-9663 tests: replace “ls -s” with “stat -c '%s'” to get file size

    Jian Yu authored and jhammond-intel committed Jul 7, 2017
    This patch improves acl/2561{,_zfs}.test to use “stat -c '%s'” to
    get file size instead of using “ls -s”, which prints the allocated
    size of the file in blocks.
    
    Test-Parameters: trivial \
    envdefinitions=ONLY=103 \
    mdtfilesystemtype=zfs ostfilesystemtype=zfs \
    testlist=sanity
    
    Lustre-change: https://review.whamcloud.com/27961
    Lustre-commit: 45b8c6c
    
    Change-Id: I8bfea5197102baeece244e20731c90172c5cc2f1
    Signed-off-by: Jian Yu <jian.yu@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29816
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  3. LU-9752 man: Reference zgenhostid instead of genhostid

    utopiabound authored and jhammond-intel committed Oct 5, 2017
    In ZFS 0.7.0, they added zgenhostid(8) to be used in place of
    Redhat's genhostid, so that there would be a platform agnostic
    way to generate /etc/hostid.
    
    Test-Parameters: trivial
    Lustre-change: https://review.whamcloud.com/29327
    Lustre-commit: a1eb6de
    
    Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Change-Id: I691266d04f91d5fa7c50b72948c801afa69d647d
    Reviewed-by: Bob Glossman <bob.glossman@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29805
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  4. LU-9578 llite: use security context if it's enabled in the kernel

    Alex Zhuravlev authored and jhammond-intel committed Jun 1, 2017
    if it's disabled, then Lustre stop to work properly (can not create
    files, etc)
    
    Lustre-change: https://review.whamcloud.com/27364
    Lustre-commmit: 61f26ea
    
    Change-Id: I1e431ec95a2b0613b43893567eb6d1a64ec832de
    Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Chris Horn <hornc@cray.com>
    Reviewed-by: James Simmons <uja.ornl@yahoo.com>
    Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29737
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  5. LU-10141 llapi: integer overflow in llapi_changelog_start

    hdoreau authored and jhammond-intel committed Oct 19, 2017
    Use the appropriate type to store and check the return value from lseek.
    This prevents from misinterpreting high offsets as errors.
    
    Lustre-change: https://review.whamcloud.com/29674
    Lustre-commit: aaa808e
    
    Change-Id: I15e92be3454af20ee6611c2a7ddfc1b597d639c2
    Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
    Reviewed-by: Thomas LEIBOVICI <thomas.leibovici@cea.fr>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Stephan Thiell <sthiell@stanford.edu>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29735
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
  6. LU-10150 build: Build with ZFS 0.7.3

    utopiabound authored and jhammond-intel committed Oct 23, 2017
    Update ZFS and SPL version to 0.7.3
    Also Fixup ChangeLog
    
    Changelog: https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.7.3
    
    Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Change-Id: I88f0f2601262c0c535431d256a159d9e9d6ebd75
    Reviewed-on: https://review.whamcloud.com/29713
    Tested-by: Jenkins
    Reviewed-by: Bob Glossman <bob.glossman@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  7. LU-9840 lod: add ldo_dir_stripe_loaded

    Di Wang authored and jhammond-intel committed Sep 13, 2017
    Add ldo_dir_stripe_loaded flag to avoid loading
    stripes mulitple times especcially for non-stripe
    directory.
    
    Lustre-change: https://review.whamcloud.com/28962
    Lustre-commit: 744fe41
    
    Change-Id: Ia9360aac9e24706e401184c75fae4ec7f8ec46d9
    Signed-off-by: Di Wang <di.wang@intel.com>
    Reviewed-by: Lai Siyao <lai.siyao@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-on: https://review.whamcloud.com/29143
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
Commits on Nov 1, 2017
  1. LU-10168 kernel: kernel update [SLES12 SP2 4.4.90-92.45]

    Bob Glossman authored and jhammond-intel committed Oct 27, 2017
    Update target and kernel_config files for new version
    
    Test-Parameters: clientdistro=sles12sp2 testgroup=review-ldiskfs \
      mdsdistro=sles12sp2 ossdistro=sles12sp2 \
      mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs
    
    Signed-off-by: Bob Glossman <bob.glossman@intel.com>
    Change-Id: If24eddeeadc825b1b3073439304c0958c0ae1b74
    Reviewed-on: https://review.whamcloud.com/29840
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Minh Diep <minh.diep@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  2. LU-10132 llite: handle xattr cache refill race

    jhammond-intel committed Oct 17, 2017
    In ll_xattr_cache_refill() if the xattr cache was invalid (and no
    request was sent) then return -EAGAIN so that ll_getxattr_common()
    caller will fetch the xattr from the MDT.
    
    Lustre-change: https://review.whamcloud.com/#/c/29654/
    Lustre-commit: 9cc8c3a20c547ec75325dde3dd17f4b1dcc66348
    
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Change-Id: Ia9ec7424e8786d92bdecf4897fafcf71d5061fb1
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29795
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Commits on Oct 31, 2017
  1. LU-10164 kernel: kernel update [SLES12 SP3 4.4.92-6.18]

    Bob Glossman authored and jhammond-intel committed Oct 25, 2017
    Update target and kernel_config files for new version
    
    Test-Parameters: clientdistro=sles12sp3 testgroup=review-ldiskfs \
      mdsdistro=sles12sp3 ossdistro=sles12sp3 \
      mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs
    
    Signed-off-by: Bob Glossman <bob.glossman@intel.com>
    Change-Id: I4b046f0ac64b75545cd0e2a3a44e9117f4d79ef4
    Reviewed-on: https://review.whamcloud.com/29825
    Tested-by: Jenkins
    Reviewed-by: Minh Diep <minh.diep@intel.com>
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  2. LU-10142 kernel: kernel update RHEL7.4 [3.10.0-693.5.2.el7]

    Bob Glossman authored and jhammond-intel committed Oct 19, 2017
    update RHEL 7.4 kernel to 3.10.0-693.5.2.el7
    
    Signed-off-by: Bob Glossman <bob.glossman@intel.com>
    Change-Id: I6f22d9d96b86d7bd860a400cd803fad26a6b5d1a
    Reviewed-on: https://review.whamcloud.com/29728
    Tested-by: Jenkins
    Reviewed-by: Yang Sheng <yang.sheng@intel.com>
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
Commits on Oct 26, 2017
  1. LU-10131 llite: Update i_nlink on unlink

    paf-49 authored and jhammond-intel committed Oct 18, 2017
    Currently, the client inode link count is not updated on
    last unlink.  This is fine because the dentries are all
    gone and the inode is eligible for reclaim, but it's still
    incorrect.  This causes two problems:
    
    1. Inode is not immediately reclaimed
    2. i_nlink count is > 0 for a fully unlinked file, which
    confuses wrapfs
    
    On last unlink, the MDT sends back attributes.  Use the
    nlink count from these to update the client inode.
    
    Remove null check inherited from ll_get_child_fid, because
    the inode should never be null on an unlink.
    
    Re-enabled test 76, which passes with this patch.
    Removed slab allocator tuning from test_76, because slab is
    no longer the default Linux allocator.
    
    Lustre-change: https://review.whamcloud.com/29651
    Lustre-commit: 947b22b
    
    Signed-off-by: Patrick Farrell <paf@cray.com>
    Change-Id: Ib253b5cf3d35188554cf8fc33a8a3d4b8bb237e8
    Reviewed-by: Ben Evans <bevans@cray.com>
    Reviewed-by: Alexey Lyashkov <c17817@cray.com>
    Reviewed-by: Andrew Perepechko <c17827@cray.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29785
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  2. LU-10041 osd: osd-zfs to choose dnode size

    Alex Zhuravlev authored and jhammond-intel committed Sep 28, 2017
    depending on dnodesize property it can be:
    legacy (512 bytes), auto (512 bytes to 16K) or absolute
    size (512, 1024, 2048, 4096, 8192, 16384).
    
    Lustre-change: https://review.whamcloud.com/29242
    Lustre-commit: d993de7
    
    Change-Id: Iea35d8ae850523440272467320410850821f484c
    Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29770
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  3. LU-9782 osd-ldiskfs: avoid extra search

    MorpheusTeam authored and jhammond-intel committed Jul 20, 2017
    Extent tree grow greatly durin random IO test with small block size.
    osd_is_mapped responsible to large cpu consumption in this case.
    
    |          |
    |          |--94.49%-- ldiskfs_es_find_delayed_extent_range
    |          |          ldiskfs_fiemap
    |          |          osd_is_mapped
    |          |          osd_declare_write_commit
    |          |
    |          |--5.49%-- ldiskfs_fiemap
    |          |          osd_is_mapped
    |          |          osd_declare_write_commit
    |
    |--21.80%-- ldiskfs_es_find_delayed_extent_range
    |          |
    |          |--100.00%-- ldiskfs_fiemap
    |          |          osd_is_mapped
    
    let's cache a osd_is_mapped result to avoid extra search in extent
    tree,
    
    Lustre-change: https://review.whamcloud.com/28145
    Lustre-commit: 1eb0573
    
    Seagate-bug-id: MRP-4474
    Signed-off-by: Alexey Lyashkov <alexey.lyashkov@seagate.com>
    Change-Id: I63d480bfc7c6b7599b80ceeec9447b227a1610c8
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Andrew Perepechko <andrew.perepechko@seagate.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29739
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Andrew Perepechko <c17827@cray.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  4. LU-7990 llite: increase whole-file readahead to RPC size

    Andreas Dilger authored and jhammond-intel committed May 4, 2016
    Increase the default whole-file readahead limit to match the current
    RPC size.  That ensures that files smaller than the RPC size will be
    read in a single round-trip instead of sending multiple smaller RPCs.
    
    Lustre-change: https://review.whamcloud.com/26955
    Lustre-commit: 627d013
    
    Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
    Change-Id: I3bdb1c7f92c546d58951a9e6b783af23c83ebbe5
    Reviewed-by: Patrick Farrell <paf@cray.com>
    Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29738
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
  5. LU-4705 mdc: improve mdc_enqueue() error message

    Andreas Dilger authored and jhammond-intel committed Sep 13, 2017
    Include the parent/child FIDs and name in the mdc_enqueue()
    debug message.
    
    Test-Parameters: trivial
    
    Lustre-change: https://review.whamcloud.com/28978
    Lustre-commit: 471c530
    
    Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
    Change-Id: I7b84921a52a4650be70fe87eea691ba2217bb3a6
    Reviewed-by: Steve Guminski <stephenx.guminski@intel.com>
    Reviewed-by: Yang Sheng <yang.sheng@intel.com>
    Signed-off-by: Minh Diep <minh.diep@intel.com>
    Reviewed-on: https://review.whamcloud.com/29736
    Tested-by: Jenkins
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>