Skip to content
  • Sophie Wenzel-Teuber's avatar
    Squashed 'external/phobos/' changes from e07d0af48..dc4ddb6cb · 977c7ecf
    Sophie Wenzel-Teuber authored
    dc4ddb6cb pkg: update to 1.92
    59b4ef9e7 bugfix: add missing quote to phobos locate output
    59309cdbd lrs: fix medium in place of device into comments
    8610b6812 ldm: remove unused lds_loaded field from ldm_dev_state
    a0954f74c design: add design for the lock table refactoring
    97c615771 bugfix: update dss_lock design for the multiple calls
    4e1bbbe8b tests: mutualize the use of test_setup across tests
    ee79d5a94 tests: lock all media in test_locate.c instead of specific ones
    270d48130 cli: add 'phobos get --best_host'
    fb4cd9e47 store: add 'PHO_XFER_OBJ_BEST_HOST' flag to 'phobos_get'
    eaf999e10 bugfix: use dir_or_tape instead of always tape in test_locate.sh
    df2686730 store: break out of for loop after allocation failure
    66273d6d8 test: add unit test for object_md_get
    e2b1e08b6 cli: add support for uuid and version in get command
    19e16b5cc store: add support for version and uuid in decoder_build()
    7f79a42a0 dss: use dss_lazy_find_object() for get and locate
    5850b9a82 demo: get
    b2b34244d autotools: fix valgrind behavior
    2c1b64b1f tests: fix initializations in test_store_object_md
    3d78300bc store: fix branch upon uninitialized value
    c23ce90ba cli: add tape/dir locate
    028031fee phobos_admin: phobos_admin_medium_locate
    fe2e7437b optim: mutualize calls to error functions in integration tests
    2fe9b6d8e optim: mutualize calls to error functions in tests
    c91801647 test: integrate test_scsi_scan.c core function in test_scsi.c
    0d3e0b303 bugfix: fix memory leak in test_dss_lock.c
    ada400d21 bugfix: fix memory leak in test_dss_medium_locate.c
    76feaf0b0 bugfix: fix memory leak in object_md functions
    d73cbdac2 cli: phobos locate oid
    964ed006e doc: fix dir/tape locate cli example
    58d01b7be raid1: take multi-split in locate into account
    face68cb8 raid1: layout_repl_count on repl_count without encoder
    30dc2c0cb doc: convert to md documentation files (phobos_cmd)
    c9e3aecac doc: convert to md documentation files (object_store)
    23539d07d doc: convert to md documentation files (lrs)
    4c6300766 doc: convert to md documentation files (ldm)
    db867b0a5 doc: convert to md documentation files (layout)
    d1c610d14 doc: convert to md documentation files (dss_filters)
    18e361490 doc: convert to md documentation files (cli)
    1e0904212 doc: convert to md documentation files (adapters)
    301b1787a design, store: fix typos in comments and design document
    915f1d879 layout: avoid using 'pho_attrs_to_json' multiple times
    404ee1556 dss: dss_medium_locate
    66d7f30c3 store: phobos_locate
    8dc71f0a4 store: dss_lazy_find_object
    13338fc3e test: cmocka global DSS handle setup and teardown
    4a9016658 dss: dss_host_from_lock_owner
    fbbb6697f tests: merge 'add_drive' and 'add_dir' in test_store_retry.c
    90ec787d8 tests: unit test for object_md_del()
    8ee3656d9 fix: bad log in object_md_del
    7528bf20a fix: bad return code in object_md_del()
    da2513b36 tests: unit test for object_md_save()
    e0f363567 extent: remove addr_type from extent structure
    adeaa1161 lrs: trim blanks of model string when comparing
    c40214e35 rfc: remove id field from pho_lock data structure
    f9102d096 optim: remove branch condition that evaluates to garbage value
    efb71f6aa pkg: update to 1.91.2
    58173fda1 optim: mutualize dss_lock.c functions
    30af73093 io: remove ioa_put() call from the io adapter
    8ed96415c layout: remove ioa_put() call from raid1
    fbfafc3dd dss: decrease log severity when status on an invalid lock
    b67126a30 test: add testing for multiple dss_xxx functions
    144dbd851 dss: add wrapper for refresh and status
    b19e55295 fix: improper use of dss_{un}lock in object_{un}delete
    8380c7e56 raid1, cfg: add configurable block size for writing
    349c93b99 fix: remove useless pho_lock variable in dss_{device,media}_from_pg_row
    3c589e6e1 test: add integration test for overwrite feature
    10560bb3b cli, store: put overwrite
    25747ac1e store, dss: manage layouts using uuid and version
    fd526bed5 fix: improper initialization of xfer in test_undelete.c
    a86ce0fee cleanup dss: rename dss lock functions, remove wrappers
    28b7e23fb dss: new sql schema to remove old locks
    6448886bf dss: remove old lock functions, move new ones to dss_lock.c
    d58195de7 dss, lrs and cli: consolidate get using new lock API
    19bdf98f7 dss: use new lock API for lock/unlock on device/media
    3ad5073fc dss: unit test of dss_object_move
    5e649ffac fix: remove duplicate call to pho_cfg_init_local
    ff1bfb64b dss: fix invalid call to dss_res_free in dss_generic_get
    bbfc0c7cf lrs: fix memory leak in daemon when ping response is successful
    0a216bc46 tests: remove DSS client usage from PhobosCLITest.py
    b39889dad cli: fix logger cleaning
    9bf094074 dss: remove dss_object_delete
    b74211472 store and dss: use new lock API into object undelete
    cbfccfb18 store and dss: use new lock API into object delete
    b63cb96e8 cleaning: compilation warning/error detected by clang
    108afa3a1 dss: cleaning UNLOCK simple query
    8123042ea doc: add locate.md design file
    ab0256b0d cli: implementation of the ping feature
    2ec39f91c dss: implement dss_lock_refresh()
    8d809a540 dss: implement dss_lock_status()
    f78edaa41 dss: implement dss_unlock()
    6a8bc04a9 dss: implement dss_lock()
    579004bbc optimization: Adds aliases to del/undel, changed delete API
    5f913e76a documentation: update the configuration doc
    b3492bc46 fix: invalid filter_free after getting layout_list
    54ee9efd3 cli: change fs default value for 'dir format' to 'posix'
    fa22ac815 cli: add '--pattern' to 'phobos extent list'
    9860c4f49 cli: add '--pattern' to 'phobos object list'
    979bffa01 db: add schema 1.92
    afbe8c297 fix: cli logger error if errno does not exist
    cd7b946e9 db: close file after retrieving the sql schema
    091981ea5 doc: add dss_api.md
    5453b4075 doc: add database.md
    97d3db253 cli: fix mput file parser
    09942d53b pkg: update to 1.91.1
    6f465d59d store: get object after pushing its metadata in database
    bbe40ca8d cli: add uuid and version fields to object displayer
    3fe39acb3 cli: fix string encoding with 'phobos object/extent list'
    0a9a165de cli: fix xfer destruction
    305d14e97 doc: fix deletion design
    932b1986d doc: extent_key and extent_description into adapters design
    78cb6f0a2 io: change io extent path generation
    238f3766f store: add uuid and version fields to the XFer structure
    2d3f0a043 io: raise an error if getting/deleting an extent without address
    a24c3ec8f doc: undelete demo
    c480e2bff cli: from "phobos object delete" to "phobos delete"
    ae834600a cli: phobos undelete uuid/oid
    c81761989 dss: undelete from oid
    1b560102e store: init xfer.xd_rc to 0 before trying to execute the xfer
    f0d7d6748 fix: memory leak in lrs.c
    e02ea384a fix: non-null terminated string
    6d96d2ca8 fix: uninitialized rc in lrs.c
    0630cb17f fix: resource leaks
    be8a860b3 fix: out-of-bounds write after using readlink()
    cdbe17c6b fix: avoid dereferencing a null pointer
    46d2f1f83 fix: add a 'fallthrough' comment on a no-break switch case
    a61c0c304 fix: replace size_t return value types by ssize_t
    56bc987e9 fix: remove unnecessary checks
    3d244b956 refacto: move up response memory release
    065e36abb fix: memory leak in prepare_requests when an error occurs
    01c46dae2 cli: add phobos object undelete
    29a7de02b undelete: add phobos_undelete() into C API
    b5ec00dfa test: test_dss.c, filter from pointer to struct
    521f2f077 dss: move a uuid from deprecated object to object table
    8e9a5d12f fix: remove 'disk' family from CLI
    8656628fa fix: test error on acceptance.sh
    a9d23f855 cli: add the option '--deprecated' to 'phobos object list'
    99c87664d cli: add 'phobos object delete' command
    de8f243b4 store: add phobos_object_delete()
    4bb7e0e94 dss: move an oid from object to deprecated_object table
    c8071547a fix: free forgotten field of struct dev_info
    98f9743a3 dss: add deprecated_object get/set methods
    5d139d14a fix: memory leak on dev_info_dup when an error occurs
    e65f0a78a doc: replace '-t' option of 'phobos drive list' by '--model'
    1faea8817 tests: replace short by long options
    bf42879af doc: replace short by long options
    526ac8624 fix: memory leak using dss_char4sql()
    b24b30513 fix: typo in PhobosCLITest.py
    21c23f544 fix: change pending_alloc variable name
    db74d8bee fix: misalignment in dss.c
    3a08b36f0 fix: remove unnecessary allocations in dss.c
    c50c89658 pkg: update to 1.91 (Japet)
    6fb786f59 pylint: fix pylint warning issue
    608e57758 tests: limit the number of files considered in acceptance.sh
    d2c59a87a Add alias functionality
    1c056162b Remove loading of the default family from cli
    e04f9b8b9 tests: add a mput test to acceptance.sh
    0025e2d7f LRS: take into account get operation flag
    caf16e1e3 test: add a tag update test
    2fd9d101f LRS: take into account put operation flag
    1abb0f216 CLI: adding tape access command to set operation flags
    3e24babe7 media: add operation flags to struct media_info
    802ff1c1c pylint: correct setup.py
    59ce4dbb0 pylint: correct tests.PhobosLDMTest.py
    e060eb6a4 pylint: correct tests.PhobosCLITest.py
    ce0067a25 pylint: correct tests.PhobosDbTest.py
    ea89685ae pylint: correct tests.FileDescTest.py
    9dab361fa pylint: correct phobos.output.py
    2ff44a0f8 pylint: correct db.__main__.py
    c78abd4c6 pylint: correct db.__init__.py
    df59a3dbf pylint: correct phobos.db.db_config.py
    87cab39d4 pylint: correct phobos.core.utils.py
    b61140fac pylint: correct phobos.core.store.py
    95e1545a2 pylint: correct phobos.core.log.py
    7a8543b69 pylint: correct phobos.core.ldm.py
    128b4ca14 pylint: correct phobos.core.cfg.py
    0f789d1be pylint: correct phobos.core.admin.py
    33ebfe60c pylint: correct phobos.core.dss.py
    6324f6c35 pylint: correct tests.PhobosDSSTest.py
    8ec6d48d4 pylint: correct phobos.core.ffi.py
    40c78dfc9 pylint: correct phobos.cli.py
    5e4ea31ec pylint: update pylintrc
    b223eba5e DB: towards media operation flags
    7505f0b35 design: media operations flags
    2eaa6eff7 fix: missing 1.91 database schema files for build
    7a178375c fix: test_daemon.sh failure due to patch merge
    7dcd40dfd python: port to python3
    516589670 DB: 1.91, towards deletion and versionning
    aa72331a4 phobosd: release locked media on initialization
    55b6678cd phobosd: release locked devices on initialization
    9aabf4b3f pho_types.h: lock format description
    05fb9cc9c lrs: socket default file in same directory as lock file
    d7ea98d32 phobosd: check daemon lock file existence before initialization
    a18242474 design: deletion_and_versioning.md update
    aab689681 fix: fix typo in phobos.db python script
    3e3f31b1d demo: add review scripts (tags, list, raid1, pre-parallel)
    46b40a66d design: add deletion_and_versioning.md
    9bdc862b7 fix: add missing fields to device info duplication
    1af227580 cli: remove unused function attrs_from_dict in store.py
    808d829ca fix: configuration file loading in PUT requests
    349af422d cli: remove unused 'izip' import
    31bb81727 python3: change the octal prefix to be python3 compliant
    5cef21a40 python3: change division operator to floor division
    32a44ef77 tests: shorten python version getter in test shell scripts
    bb801cef0 python3: change 'print xxx' to 'print(xxx)'
    
    git-subtree-dir: external/phobos
    git-subtree-split: dc4ddb6cb705e007186aab43aacc75f2179a2f2d
    977c7ecf