Re: [PATCH 0/7] Discard requests, v2

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

 



On Tue, Aug 12, 2008 at 11:14:47AM +0200, Jens Axboe wrote:
> But we don't already have this problem, that is the point. For page
> cache writes, the page cache nicely solves this issue for us - a write
> that comes in later gets to wait on the page lock before proceeding. So
> at least it's ordered. For O_DIRECT, the issuer is on his own.
> 
> I think this is a serious problem and that we must ensure that an
> overlapping write doesn't pass a previously issued discard request. So
> in that sense, discards must be considered soft barriers.

Would it make sense for discards to lock the page as if it were a write?

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux