diff --git a/repo/fsrepo/fsrepo.go b/repo/fsrepo/fsrepo.go index 4ecb3ec9a101..a87eca9e363c 100644 --- a/repo/fsrepo/fsrepo.go +++ b/repo/fsrepo/fsrepo.go @@ -400,6 +400,9 @@ func (r *FSRepo) openDatastore() error { } else if r.config.Datastore.Spec == nil { return fmt.Errorf("required Datastore.Spec entry missing from config file") } + if r.config.Datastore.NoSync { + log.Warning("NoSync is now deprecated in favor of datastore specific settings. If you want to disable fsync on flatfsf set 'sync' to false'. See https://github.com/ipfs/go-ipfs/blob/master/docs/datastores.md#flatfs.") + } dsc, err := AnyDatastoreConfig(r.config.Datastore.Spec) if err != nil {