On Fri, May 31, 2019 at 10:20 PM Ilya Dryomov <idryomov@xxxxxxxxx> wrote: > > On Fri, May 31, 2019 at 2:30 PM Yan, Zheng <zyan@xxxxxxxxxx> wrote: > > > > echo force_reconnect > /sys/kernel/debug/ceph/xxx/control > > > > Signed-off-by: "Yan, Zheng" <zyan@xxxxxxxxxx> > > Hi Zheng, > > There should be an explanation in the commit message of what this is > and why it is needed. > > I'm assuming the use case is recovering a blacklisted mount, but what > is the intended semantics? What happens to in-flight OSD requests, > MDS requests, open files, etc? These are things that should really be > written down. > got it > Looking at the previous patch, it appears that in-flight OSD requests > are simply retried, as they would be on a regular connection fault. Is > that safe? > It's not safe. I still thinking about how to handle dirty data and in-flight osd requests in the this case. Regards Yan, Zheng > Thanks, > > Ilya