pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Tolerate EINVAL when calling fsync() on a directory.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Tolerate EINVAL when calling fsync() on a directory.
@ 2019-02-24 11:06  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2019-02-24 11:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Tolerate EINVAL when calling fsync() on a directory.

Previously, we tolerated EBADF as a way for the operating system to
indicate that it doesn't support fsync() on a directory.  Tolerate
EINVAL too, for older versions of Linux CIFS.

Bug #15636.  Back-patch all the way.

Reported-by: John Klann
Discussion: https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f16735d80d2fbe1c86f4ac044ee66fe2073b8877

Modified Files
--------------
src/backend/storage/file/fd.c | 2 +-
src/common/file_utils.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Tolerate EINVAL when calling fsync() on a directory.
@ 2019-02-24 11:06  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2019-02-24 11:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Tolerate EINVAL when calling fsync() on a directory.

Previously, we tolerated EBADF as a way for the operating system to
indicate that it doesn't support fsync() on a directory.  Tolerate
EINVAL too, for older versions of Linux CIFS.

Bug #15636.  Back-patch all the way.

Reported-by: John Klann
Discussion: https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4d67357dbf5016836dc9ea9a8789cc539dfa3b60

Modified Files
--------------
src/backend/storage/file/fd.c | 2 +-
src/common/file_utils.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Tolerate EINVAL when calling fsync() on a directory.
@ 2019-02-24 11:07  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2019-02-24 11:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Tolerate EINVAL when calling fsync() on a directory.

Previously, we tolerated EBADF as a way for the operating system to
indicate that it doesn't support fsync() on a directory.  Tolerate
EINVAL too, for older versions of Linux CIFS.

Bug #15636.  Back-patch all the way.

Reported-by: John Klann
Discussion: https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bcf6278343444aa1de93b7c131b30c608a5b6e45

Modified Files
--------------
src/backend/storage/file/fd.c | 2 +-
src/common/file_utils.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Tolerate EINVAL when calling fsync() on a directory.
@ 2019-02-24 11:07  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2019-02-24 11:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Tolerate EINVAL when calling fsync() on a directory.

Previously, we tolerated EBADF as a way for the operating system to
indicate that it doesn't support fsync() on a directory.  Tolerate
EINVAL too, for older versions of Linux CIFS.

Bug #15636.  Back-patch all the way.

Reported-by: John Klann
Discussion: https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ad714c6072c9482ffd398716fdc018f25c5c2fb0

Modified Files
--------------
src/backend/storage/file/fd.c | 2 +-
src/bin/initdb/initdb.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Tolerate EINVAL when calling fsync() on a directory.
@ 2019-02-24 11:07  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2019-02-24 11:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Tolerate EINVAL when calling fsync() on a directory.

Previously, we tolerated EBADF as a way for the operating system to
indicate that it doesn't support fsync() on a directory.  Tolerate
EINVAL too, for older versions of Linux CIFS.

Bug #15636.  Back-patch all the way.

Reported-by: John Klann
Discussion: https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0ec89a0f6752d55efee4377928087b1865d7ac5e

Modified Files
--------------
src/backend/storage/file/fd.c | 2 +-
src/bin/initdb/initdb.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Tolerate EINVAL when calling fsync() on a directory.
@ 2019-02-24 11:08  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2019-02-24 11:08 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Tolerate EINVAL when calling fsync() on a directory.

Previously, we tolerated EBADF as a way for the operating system to
indicate that it doesn't support fsync() on a directory.  Tolerate
EINVAL too, for older versions of Linux CIFS.

Bug #15636.  Back-patch all the way.

Reported-by: John Klann
Discussion: https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ede6b19624d1836635d8bd2c8cdc6a694d8ff678

Modified Files
--------------
src/backend/storage/file/fd.c | 2 +-
src/bin/initdb/initdb.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2019-02-24 11:08 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-02-24 11:06 pgsql: Tolerate EINVAL when calling fsync() on a directory. Thomas Munro <tmunro@postgresql.org>
2019-02-24 11:06 pgsql: Tolerate EINVAL when calling fsync() on a directory. Thomas Munro <tmunro@postgresql.org>
2019-02-24 11:07 pgsql: Tolerate EINVAL when calling fsync() on a directory. Thomas Munro <tmunro@postgresql.org>
2019-02-24 11:07 pgsql: Tolerate EINVAL when calling fsync() on a directory. Thomas Munro <tmunro@postgresql.org>
2019-02-24 11:07 pgsql: Tolerate EINVAL when calling fsync() on a directory. Thomas Munro <tmunro@postgresql.org>
2019-02-24 11:08 pgsql: Tolerate EINVAL when calling fsync() on a directory. Thomas Munro <tmunro@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox