Re: [PATCH] regcache: Warn if regcache_sync() is called in cache_only mode

Bui Duc Phuc <[email protected]>
Newsgroups dev.linux.lists.driver-core,org.kernel.vger.linux-kernel
Message-ID <CAABR9nFRhg5YE6X2QCYQ4Zu9LuQi+vgaNai1s8MF8rHQE-2PqQ@mail.gmail.com>
Hi Mark,

Thanks for the clarification.

>
> That's for the caller.
>

Understood. I'll keep the current behavior and leave the error
handling to the caller.

> I'd have hoped it'd be fairly obvious that the device is in an
> indeterminate state after a failed sync, TBH if I/O isn't working
> recovery options are going to be *super* limited.

I won't make any documentation changes.

Best regards,
Phuc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.