Re: [PATCH 1/5]: ufs: missed brelse and wrong baseblk

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

 



Comment more on the entire series than on this patch: scenario that causes
trouble
	* foo is a sparse file on ufs with 8Kb block/1Kb fragment
	* process opens it writable and mmaps it shared
	* it proceeds to dirty the pages
	* fork
	* parent and child do msync() on pages next to each other

I.e. we try to write adjacent pages that sit in the same block.  At the
same time.  Each will trigger an allocation and we'd better be very
careful, or we'll end up allocating the same block twice.
-
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