Skip to content

Disable directory fsync on AIX#656

Open
ThePrez wants to merge 2 commits intolouischatriot:masterfrom
ThePrez:patch-1
Open

Disable directory fsync on AIX#656
ThePrez wants to merge 2 commits intolouischatriot:masterfrom
ThePrez:patch-1

Conversation

@ThePrez
Copy link

@ThePrez ThePrez commented Oct 14, 2020

Pretty self-explanatory change. Running this on IBM i (an AIX variant), I get:

Error: Failed to flush to storage
    at /QOpenSys/pkgs/lib/nodejs12/lib/node_modules/crontab-ui/node_modules/nedb/lib/storage.js:63:19
    at FSReqCallback.oncomplete (fs.js:154:23) {
  errorOnFsync: [Error: EINVAL: invalid argument, fsync] {
    errno: -22,
    code: 'EINVAL',
    syscall: 'fsync'
  },
  errorOnClose: null
}

AIX needs the special case with Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant