[PR #1104] [MERGED] Eagerly initialize sysconf variables #1817

Closed
opened 2026-03-04 02:02:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1104
Author: @gaul
Created: 7/17/2019
Status: Merged
Merged: 7/22/2019
Merged by: @ggtakec

Base: masterHead: sysconf


📝 Commits (1)

  • fb93763 Eagerly initialize sysconf variables

📊 Changes

3 files changed (+37 additions, -36 deletions)

View changed files

📝 src/s3fs.cpp (+2 -0)
📝 src/s3fs_util.cpp (+34 -36)
📝 src/s3fs_util.h (+1 -0)

📄 Description

Previously s3fs had races updating these shared variables. Found via
ThreadSanitizer.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1104 **Author:** [@gaul](https://github.com/gaul) **Created:** 7/17/2019 **Status:** ✅ Merged **Merged:** 7/22/2019 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `sysconf` --- ### 📝 Commits (1) - [`fb93763`](https://github.com/s3fs-fuse/s3fs-fuse/commit/fb937635f5b84b13eb12e62cfe3a7bd2e4b4a445) Eagerly initialize sysconf variables ### 📊 Changes **3 files changed** (+37 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `src/s3fs.cpp` (+2 -0) 📝 `src/s3fs_util.cpp` (+34 -36) 📝 `src/s3fs_util.h` (+1 -0) </details> ### 📄 Description Previously s3fs had races updating these shared variables. Found via ThreadSanitizer. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:02:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1817
No description provided.