I think this text, from the September 2015 "Rules Answers" on WotC's own site will clarify all of these issues, since you can't get more official than that:
A long rest is a period of relaxation that is at least 8 hours long. It can contain sleep, reading, talking, eating, and other restful...