Re: query on VFS busy inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 26, 2014 at 1:08 AM, Abhishek Dave <cfsxdave@xxxxxxxxx> wrote:
> Hello All,
>
> Can some one please help me to understand meaning of below code
>
> <snip>
>
>         if (!list_empty(&sb->s_inodes)) {
> 406                         printk("VFS: Busy inodes after unmount of %s. "
> 407                            "Self-destruct in 5 seconds.  Have a nice
> day...\n",
> 408                            sb->s_id);
> 409                 }
>
> </snip>
>
> Are we doing here?
>
> Thanks,
>
> Dave
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Hi Abhishek,

This code gets called during unmounting of a filesystem. During
unmounting, if there are busy inodes present in the list contained in
superblock (s_inodes field), just log the error through the printk &
go forward through the unmounting process.

- Regards,
     Rohan

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux