Project

General

Profile

Actions

Bug #42602

closed

client: missing const SEEK_DATA and SEEK_HOLE on ALPINE LINUX

Added by Stefan Bischoff over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The non-posix conform constants SEEK_DATA and SEEK_HOLE are missin on alpine linux / musllib. So you cant compile src/client/Client.cc there. Maybe one can add some #ifndef blocks. not sure wheater this would break functionality.


Files

10-client.patch (477 Bytes) 10-client.patch Stefan Bischoff, 11/03/2019 10:32 PM

Related issues 1 (0 open1 closed)

Related to CephFS - Bug #42107: client: no method to handle SEEK_HOLE and SEEK_DATA in lseekResolvedshen hang

Actions
Actions #1

Updated by Greg Farnum over 4 years ago

  • Project changed from Ceph to CephFS
  • Category changed from build to Correctness/Safety
  • Component(FS) Client added
Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Related to Bug #42107: client: no method to handle SEEK_HOLE and SEEK_DATA in lseek added
Actions #3

Updated by Patrick Donnelly over 4 years ago

  • Subject changed from Missing const SEEK_DATA and SEEK_HOLE on ALPINE LINUX to client: missing const SEEK_DATA and SEEK_HOLE on ALPINE LINUX

Better would be to wrap the usage of SEEK_DATA/SEEK_HOLE in #ifdefs. Would you like to submit a PR?

Actions #4

Updated by Stefan Bischoff over 4 years ago

Patrick Donnelly wrote:

Better would be to wrap the usage of SEEK_DATA/SEEK_HOLE in #ifdefs. Would you like to submit a PR?

Here you go: https://github.com/ceph/ceph/pull/31568

Actions #5

Updated by Patrick Donnelly over 4 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Stefan Bischoff
  • Start date deleted (11/03/2019)
  • Pull request ID set to 31568
  • Affected Versions deleted (v15.0.0)
Actions #6

Updated by Patrick Donnelly about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF