lkml.org 
[lkml]   [2010]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] fs: run emergency remount on dedicated workqueue
    On 05/27/2010 04:59 PM, Américo Wang wrote:
    > On Thu, May 27, 2010 at 11:57:23AM +0200, Tejun Heo wrote:
    >> Commit fa4b9074cd8428958c2adf9dc0c831f46e27c193 made s_umount depend
    >> on keventd; however, emergency remount schedules works to keventd
    >> which grabs s_umount creating a circular dependency. Run emergency
    >> remount on a separate workqueue to break it.
    >>
    >
    > I have a stupid question, why using workqueue instead of
    > calling do_remount_sb() directly in emergency_remount()?
    > Avoid blocking emergency_remount()?

    Umm... because it's called from interrupt handler? Right?

    --
    tejun
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-05-27 19:07    [W:0.025 / U:0.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site