Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed flags for _ltfs_search_index_wp #480

Open
wants to merge 123 commits into
base: v2.4-stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
d960571
Starting incremental index support work
Sep 30, 2020
ac46fb2
Initial checking of v1.5 fssim code
DavidAPease Oct 1, 2020
13f43ef
Corrected typos in README files
DavidAPease Oct 1, 2020
5b6b5e4
Updates to README files
DavidAPease Oct 1, 2020
076ff6d
README.md in docs dir, small fixes to help messages
DavidAPease Oct 4, 2020
3dc47e1
typos in README
DavidAPease Oct 4, 2020
d35cd78
typos in README
DavidAPease Oct 4, 2020
b846d27
Make master branch as a tree for version 2.5 dev
Nov 6, 2020
26869c8
Update build-centos7.yml
Nov 13, 2020
2e117ad
Fix warning on message checker
Nov 13, 2020
be1b873
Fix build break in FreeBSD
piste2750 Dec 1, 2020
fffa125
Handle write-perm on LOCATE correctly (#233)
Dec 9, 2020
58cacdd
Fix check build (#238)
Jan 18, 2021
dd08870
Support HP drives on the CAM backend (#239)
piste2750 Jan 18, 2021
b2d8298
Handle the no xattr destination on ltfs_ordered_copy
softloft38p-michael Feb 3, 2021
f2769f2
Honor `--keep-tree` for single file copies (#244)
softloft38p-michael Feb 3, 2021
d874e20
Support another Quantum drive (#247)
Feb 8, 2021
3b5acac
Fix remaining capacity handling of HP LTO6 (#248)
Feb 8, 2021
aacc20c
Document required reboot for modprobe.d settings to take effect. Fixe…
softloft38p-michael Feb 11, 2021
30829ef
Fetch timeout values from drive if available (#253)
Feb 26, 2021
1fbde52
Introduce generic logselect issue I/F via VEA (#258)
Mar 10, 2021
4be4c40
Add another Quantum's LTO 6 into the list (#259)
Mar 11, 2021
0bfb629
Fix plugin load error for the itdtimg backend (#260)
Mar 13, 2021
16a08be
Introduce generic MAM fields capture I/F (#261)
Mar 13, 2021
53a9406
Fix the build break of the lin_tape backend (#263)
Mar 27, 2021
3071374
Fix the drive type of Quantum LTO6 (#267)
Apr 9, 2021
7a2b257
Remove AC_CONFIG_MACRO_DIR from configure.ac (#274)
May 6, 2021
52594c6
Update the README on master (#275)
May 6, 2021
0a51e3c
Handle 0-byte file on tape in `ltfs-ordered_copy` (#276)
May 10, 2021
a949a12
Wipe the plugin structure before loading a plugin. (#278)
xloem May 11, 2021
cb7ce47
Update ISO status
May 11, 2021
f806d70
Refresh obsoleted macros for newer autotools (#277)
rzerres May 14, 2021
55b0f8e
Refactor the XML parser to return more graceful infomation (#281)
May 17, 2021
f4cf6f3
Modify the description for the spec
May 17, 2021
b2a5b50
Fix a build break on FreeBSD (#284)
piste2750 May 20, 2021
d08cb44
Introduce Recommended access order (RAO) via EA (#288)
y-sasn May 27, 2021
54a0c5c
Refactor RAO functions (#293)
Jun 10, 2021
4eafde6
Handle Quantum type-B drive (#296)
piste2750 Jun 21, 2021
f057535
Fix bugs to fetch supported drive list (#298)
piste2750 Jun 22, 2021
ab7d0f0
Experimental support of Tandberg drives (#299)
Jun 22, 2021
0fae6d8
Correct compare length of vendor IDs (#301)
Jun 25, 2021
18ad9cd
Log the generation of index at mount/unmount (#304)
Aug 4, 2021
e1bca53
Update the status of the spec 2.5
Aug 5, 2021
4b2e744
Handle unupdated MAM tape at write perm (#307)
Aug 10, 2021
c3de5ad
Introduce the low level index tool (#309)
piste2750 Aug 19, 2021
27e5ea1
Fix fallback to pkg-config (#310)
swt2c Aug 23, 2021
33dbad1
Correct ltfs_check_medium handling of partitions ending in data+fm (#…
linnemannr Sep 6, 2021
618859c
Modify build configuration (#311)
Sep 10, 2021
22be24e
Enable code scan by CodeQL (Experimental)
Sep 28, 2021
226e76b
Update CodeQL workflow
Sep 28, 2021
60ff79f
Install prereqs at CodeQL scan
Sep 28, 2021
a172456
Use apt-get in the CodeQL job
Sep 28, 2021
b446455
Fix command error on the CodeQL job
Sep 28, 2021
c5a0982
Run apt-get on root in the CodeQL job
Sep 28, 2021
4818e0a
Add dummy icu-config for the CodeQL job
Sep 28, 2021
b5fd43a
Test for the CodeQL job
Oct 1, 2021
2d7fc01
Test for the CodeQL job #2
Oct 1, 2021
e845fef
Anyway, just need to make the tree for CodeQL
Oct 1, 2021
bc5ce0e
Add autobuild script for CodeQL analysis
Oct 1, 2021
39fdc49
Fix autobuild script for CodeQL analysis
Oct 1, 2021
60b2024
Use default built-in queries
Oct 1, 2021
9de617a
Use default built-in queries
Oct 1, 2021
55656a7
Return error when index write on DP is failed at sync (#316)
Oct 18, 2021
6cdbad0
Fix potential buffer overrun (#317)
Oct 18, 2021
4c3a760
Fix a toctou race condition (#318)
Oct 18, 2021
b193b45
Update supporting drives.
Nov 8, 2021
77e59f2
Tiny correction for sync fail (#319)
Nov 19, 2021
0a82123
Support `ltfs.hash.*` EAs (#320)
Nov 22, 2021
1713126
Fix a few vulnerabilities (#323)
Dec 17, 2021
93de9d8
Fix a potential buffer overflow (#324)
Dec 17, 2021
ae18480
Fix build break on FreeBSD (#326)
piste2750 Dec 24, 2021
3f2e5c6
Fix link failure in Debian11 (#329)
Jan 13, 2022
42c0871
Introduce Index mount mode (#330)
Jan 26, 2022
376a25b
Fix check build break on CentOS8
Feb 3, 2022
8064838
Format time enhancement on the LTO9 drive (#335)
Feb 15, 2022
a4cd6af
Export a couple of utility functions (#338)
Feb 19, 2022
98c6c6b
Move to Rocky Linux
Feb 21, 2022
ec78f5d
Fix the description of the capture index option in man page of ltfs (…
dabiged Feb 22, 2022
e62d21c
Fix link breakages in README (#340)
Feb 28, 2022
af2aeab
Fix typos of homebrew in readme (#342)
qayshp Mar 11, 2022
ffc63ac
Fix a crash at parsing an extended attribute (#341)
Mar 8, 2022
3919f56
Silence warnings from autoconf 2.70 and higher (#344)
manu0401 Mar 25, 2022
7fe537d
Fix undefined symbol error on NetBSD/amd64 (#346)
manu0401 Mar 25, 2022
98e8854
Fix filehandle corruption on LP64 (#345)
manu0401 Mar 25, 2022
3b26f03
Return an error without issuing GRAO command in LTO9HH (#348)
Apr 6, 2022
b8e7384
Improve error position detention at WRITE PERM (#357)
Aug 10, 2022
044a0e3
Correct a message ID
Aug 10, 2022
8a0f116
Correct a message ID
Aug 10, 2022
bf58bc3
Cleanup language on READMEmd. (#362)
dabiged Oct 3, 2022
2d7d642
Modify linker flags (#366)
Nov 16, 2022
56572c5
Install config_file.h as a header (#368)
Nov 19, 2022
d7230c8
Fix a type mismatch bug in ltfs_ordered_copy (#372)
Dec 7, 2022
d8d72a7
Fix gcc error message by unexpected extra options (#375)
lshw Dec 7, 2022
2db929b
Replace specifying options for ICU from icu-config to pkg-config (#376)
lshw Dec 8, 2022
82c8d9a
Make it work for HP Ultrium 3000 on FreeBSD (#379)
micronn Dec 25, 2022
f95a9a4
Add a few headers to be installed (#386)
Mar 13, 2023
b80b20c
Added warning to show fuse main error codes
May 19, 2023
cccf09e
Solving syntax error
May 19, 2023
7edac12
Changed message of warning
amissael95 May 26, 2023
a1f435f
Reverting change on ltfs_parse_options
Jun 19, 2023
9fcc77e
Reverting change
Jun 19, 2023
efb2eb8
Merge branch 'fuse-main-log-addition' of https://github.com/amissael9…
Jun 19, 2023
178a782
Handle one-shot false `good` against TUR at failover process (#410)
Jun 21, 2023
6e4f79f
Add support for FreeBSD to ltfs_ordered_copy (#380)
micronn Jun 23, 2023
2e41bf5
Merge pull request #404 from amissael95/fuse-main-log-addition
juliocelon Jun 26, 2023
2897a5a
bugfix: cannot mount LTFS tapes under Rocky Linux with lin_tape drive…
richard42 Jun 27, 2023
66f0b28
Treat extended attribute ltfs.mediaPool.name like a virtual extended …
richard42 Jun 29, 2023
a7916bf
Recursive protection to _take_dump() (#412)
ochomenosocho Jul 17, 2023
7681d4d
Fix a memory leak at `tape_read_attr()` (#415)
Aug 24, 2023
b9cf767
Rebranding from Spectrum Archive to Storage Archive and adding copyri…
juliocelon Aug 31, 2023
18ae70c
Linux Jaguar 7 Tape and TS1170 Drive Support (#423)
jgreen24 Aug 25, 2023
82024a9
Fix `ltfs -o device_list` exit code (#429)
diamant3 Nov 27, 2023
f36304e
Jag7 fix (#435)
jgreen24 Nov 27, 2023
5175c4c
Create hba_report.md
May 17, 2024
972c610
Update hba_report.md
May 17, 2024
cbed7ef
freebsd: add missing semicolon in cam_tc (#426)
kev009 May 22, 2024
102dcb4
Fix the build break on FreeBSD 12 (#396)
Krishhhnaa May 22, 2024
22edc44
Introduce the structures for incremental index for format spec 2.5 (#…
May 22, 2024
d19dfcf
Fix potential use after free issues (#462)
May 23, 2024
06367df
Change the `sync` behavior to fit the LTFS format Spec 2.5 (#461)
May 24, 2024
8c8f6cc
Introduce incremental index write down in XML format (#466)
Jun 21, 2024
29b6f34
Remove CentOS7 and RHEL7 Build for Travis in master branch (#477)
juliocelon Jul 31, 2024
627484b
Changed flags for _ltfs_search_index_wp
Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/hba_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: HBA report
about: Report a HBA that is working on the specific enviroment
assignees: piste-jp-ibm
lebels: HBA Report
title: HBA list request

---

**Fill in the informatio of HBA and OS**

| HBA type | Vendor | I/F type (FC, SAS etc) | OS | LTFS version or commit hash | Note |
| -------- | ------ | ---------------------- | --- | --------------------------- | ---- |
| | | | | | |

17 changes: 0 additions & 17 deletions .github/workflows/build-centos7.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build-centos8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on: [push, pull_request]

jobs:
build:
name: Build on CentOS8
name: Build on CentOS8 (Rocky Linux)
runs-on: ubuntu-latest

steps:
- name: Set up Git repository
uses: actions/checkout@v1
- name: Build LTFS
id: build
uses: LinearTapeFileSystem/CentOS8-Build@v1.0
uses: LinearTapeFileSystem/CentOS8-Build@v1.6
with:
destination: '/tmp/ltfs'
2 changes: 1 addition & 1 deletion .github/workflows/build-debian10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
uses: actions/checkout@v1
- name: Build LTFS
id: build
uses: LinearTapeFileSystem/Debian10-Build@v1.0
uses: LinearTapeFileSystem/Debian10-Build@v1.1
with:
destination: '/tmp/ltfs'
17 changes: 0 additions & 17 deletions .github/workflows/build-ubuntu-eoan.yml

This file was deleted.

76 changes: 76 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master, v2* ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '26 12 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
#- name: Autobuild
# uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

- run: |
sudo apt-get -q -y update
sudo apt-get -q -y upgrade
sudo apt-get -y install build-essential automake autoconf libtool pkg-config icu-devtools libicu-dev libxml2-dev uuid-dev fuse libfuse-dev libsnmp-dev
sudo cp .github/workflows/icu-config /usr/bin/icu-config
./autogen.sh
./configure
make

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
12 changes: 12 additions & 0 deletions .github/workflows/icu-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

opts=$1

case $opts in
'--cppflags')
echo '' ;;
'--ldflags')
echo '-licuuc -licudata' ;;
*)
echo '/usr/lib/x86_64-linux-gnu/icu/pkgdata.inc' ;;
esac
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ltfs.pc
.libs/
messages/.lib
.dirstamp
# Files created by OS
.DS_Store
# Files for development
GPATH
GRTAGS
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="$PATH:$ICU_PATH:$LIBXML2_PATH" ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ossp-uuid gnu-sed ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install osxfuse ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install --cask osxfuse ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask list ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list --cask ; fi
- if [[ "$TRAVIS_DIST" == "xenial" ]]; then sudo apt-get update ; fi
- if [[ "$TRAVIS_DIST" == "xenial" ]]; then sudo apt-get install -y libfuse2 libfuse-dev ; fi
- if [[ "$TRAVIS_DIST" == "xenial" ]]; then sudo apt-get install -y libxml2 libxml2-dev ; fi
Expand All @@ -50,7 +50,7 @@ before_install:
- if [[ "$TRAVIS_DIST" == "bionic" ]]; then sudo apt-get install -y libuuid1 uuid-dev ; fi

script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./autogen.sh && LDFLAGS="-framework CoreFoundation -framework IOKit" ./configure --enable-icu-6x --disable-snmp && make ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./autogen.sh && LDFLAGS="-framework CoreFoundation -framework IOKit" ./configure --enable-icu-6x --disable-snmp --enable-warning-as-error --enable-message-checker && make ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./autogen.sh && ./configure --prefix=/tmp && make && make install ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd /tmp && git clone https://github.com/LinearTapeFileSystem/ltfs-backends.git && cd ltfs-backends ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/tmp/lib/pkgconfig ; fi
Expand Down
Loading
Loading