login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
19
Re: is the inode an orphan?
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Artem Bityutskiy <dedekind@...>
To: Jan Kara <jack@...>
Cc: Al Viro <viro@...>, Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: is the inode an orphan?
Date: Monday, November 19, 2007 - 11:02 am
Hi, Jan Kara wrote:
quoted text
>> In our FS when we're in ->unlink() and i_nlink becomes 0, we have to record >> this inode in the table of orphans, and remove it from there in >> ->delete_inode(). This is needed to be able to dispose of orphans in case >> of an unclean reboot on the next mount. AFAIK, ext3 has something similar. >> I just figured that this could be optimized - in most cases >> ->delete_inode() is called right after ->unlink(), and I wanted to avoid >> putting the inode to the orphan table in those cases. > Yes, ext3 has something similar. But actually ext3 would have to insert > inode in the orphan list anyway - in delete_inode we do truncate and > for it we also insert the inode into the orphan list because truncate > can be too large to fit into a single transaction.
Ok, thanks for this point.
quoted text
> Hmm, I'm just not sure whether unlink cannot somehow race with open > (at least I don't see any lock that would prevent open while unlink is > in progress)...
And this. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
is the inode an orphan?
, Artem Bityutskiy
, (Thu Oct 18, 1:49 pm)
Re: is the inode an orphan?
, Al Viro
, (Thu Oct 18, 2:01 pm)
Re: is the inode an orphan?
, Artem Bityutskiy
, (Fri Oct 19, 3:07 am)
Re: is the inode an orphan?
, Jan Kara
, (Tue Oct 30, 10:10 am)
Re: is the inode an orphan?
, Artem Bityutskiy
, (Mon Nov 19, 11:02 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
open-graphics
open-graphics-announce-kt
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [REPORT] cfs-v4 vs sd-0.44
Pierre Ossman
post 2.6.26 requires pciehp_slot_with_bus
Andi Kleen
Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops
Andrew Morton
Re: 2.6.24-rc6-mm1
git
:
Bill Lear
Meaning of "fatal: protocol error: bad line length character"?
Sergei Organov
Newbie: report of first experience with git-rebase.
R. Tyler Ballance
Public repro case! Re: [PATCH/RFC] Allow writing loose objects that are corrupted ...
Mark Levedahl
[PATCH] git-clone - Set remotes.origin config variable
openbsd-misc
:
Richard Stallman
Real men don't attack straw men
James Hartley
scp batch mode?
Juan Miscaro
When will OpenBSD support UTF8?
Luca Dell'Oca
Authenticate squid in Active Directory
linux-netdev
:
Gerrit Renker
[PATCH 34/37] dccp: Auto-load (when supported) CCID plugins for negotiation
David Woodhouse
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Daniel J Blueman
[sky2, solved] transmit timeouts and firmware update...
Latest forum posts
Tune CFS for htpc usage to decoding HD 1080p x264 video streams
10 hours ago
Linux kernel
Calling functions from system call
12 hours ago
Linux kernel
How to write in kernel memory
12 hours ago
Linux kernel
linux_wrappers.c:306: error: unknown field ‘nopage’ specified in initializer
12 hours ago
Linux kernel
Packet Replay Check
17 hours ago
FreeBSD
Cannot rdr from internal network to a squid proxy running on pf bridge firewall.
1 day ago
OpenBSD
Cannot compile kernel modules
1 day ago
Linux kernel
Intelligent enclosure (SES, SAF-TE) monitoring & configuration
3 days ago
Applications and Utilities
I/O operations
3 days ago
Linux kernel
Future of grsecurity
3 days ago
Linux kernel
Show all forums...
Recent Tags
more tags
Colocation donated by:
Who's online
There are currently
3 users
and
954 guests
online.
Online users
strcmp
TheBashar
Rathi
Syndicate
speck-geostationary